Initial commit that merge both the front end and the API in the same repository
This commit is contained in:
commit
76f98b74dd
285 changed files with 51318 additions and 0 deletions
42
api/docker-compose.yml
Normal file
42
api/docker-compose.yml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
version: '2'
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:9.5
|
||||
|
||||
api:
|
||||
build: .
|
||||
links:
|
||||
- postgres
|
||||
- redis
|
||||
command: ./compose/django/gunicorn.sh
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ./media:/app/funkwhale_api/media
|
||||
- ./staticfiles:/app/staticfiles
|
||||
- ./music:/music
|
||||
ports:
|
||||
- "127.0.0.1:6001:5000"
|
||||
|
||||
redis:
|
||||
image: redis:3.0
|
||||
|
||||
celeryworker:
|
||||
build: .
|
||||
env_file: .env
|
||||
links:
|
||||
- postgres
|
||||
- redis
|
||||
command: celery -A funkwhale_api.taskapp worker -l INFO
|
||||
volumes:
|
||||
- ./media:/app/funkwhale_api/media
|
||||
- ./music:/music
|
||||
environment:
|
||||
- C_FORCE_ROOT=True
|
||||
|
||||
celerybeat:
|
||||
build: .
|
||||
env_file: .env
|
||||
links:
|
||||
- postgres
|
||||
- redis
|
||||
command: celery -A funkwhale_api.taskapp beat -l INFO
|
||||
Loading…
Add table
Add a link
Reference in a new issue