Files
oxpanel25/docker-compose.dev.yml
2025-04-20 03:13:04 +02:00

33 lines
556 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:
build:
args:
debug: true
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"