diff options
| author | 2024-07-08 15:09:17 +0100 | |
|---|---|---|
| committer | 2024-07-08 15:09:17 +0100 | |
| commit | 642c0795c8738bf8b9ae39b9cf0180f7cdbac650 (patch) | |
| tree | 4a075255d00d9f8a2f369567bdb79f6eefa4be9a /docker-compose.yml | |
| parent | Migration to official Sentry release CI action (#275) (diff) | |
| parent | Stop using gunicorn and use uvicorn directly to run application (diff) | |
Merge pull request #276 from python-discord/jb3/environ/python-3.12
3.12 + Updates
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/docker-compose.yml b/docker-compose.yml index 8ee46be..2b4a394 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3.6" -  services:    mongo:      image: mongo:latest @@ -21,13 +19,15 @@ services:      build:        context: .        dockerfile: Dockerfile -    command: ["uvicorn", "--reload", "--host", "0.0.0.0", "--debug", "backend:app"] +    command: ["uvicorn", "--reload", "--host", "0.0.0.0", "backend:app"]      ports:        - "127.0.0.1:8000:8000"      depends_on:        - mongo        - snekbox      tty: true +    env_file: +      - .env      volumes:        - .:/app:ro      environment: | 
