30 lines
513 B
YAML
30 lines
513 B
YAML
services:
|
|
redis:
|
|
restart: "no"
|
|
|
|
web:
|
|
restart: "no"
|
|
volumes:
|
|
- ./nginx/dev.nginx:/etc/nginx/conf.d/default.conf:ro
|
|
|
|
transmission:
|
|
restart: "no"
|
|
ports: !reset []
|
|
|
|
app:
|
|
restart: "no"
|
|
ports:
|
|
- "${DEV_SERVER_PORT:-8080}:${DEV_SERVER_PORT:-8080}"
|
|
command: >
|
|
bash -c "sleep 2
|
|
&& python manage.py migrate
|
|
&& ./dev_run.sh"
|
|
|
|
# celery:
|
|
# restart: "no"
|
|
# command: >
|
|
# bash -c "sleep 5 & celery -A app worker -E -B"
|
|
|
|
event:
|
|
restart: "no"
|