services: web: restart: "no" ports: - "${LISTEN_PORT:-8000}:80" volumes: - ./nginx/dev.nginx:/etc/nginx/nginx.conf:ro app: volumes: - ./app:/app restart: "no" command: > sh -c "python manage.py migrate --noinput && ./dev_run.sh"