init
This commit is contained in:
29
docker-compose.dev.yml
Normal file
29
docker-compose.dev.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user