diff options
author | 2024-07-06 00:36:15 +0100 | |
---|---|---|
committer | 2024-07-06 00:36:15 +0100 | |
commit | 4d743ac6856503270ab4165ef815361d5f383541 (patch) | |
tree | 55ffb73e3a4655e1a042af84f1bb4cb054657134 | |
parent | Update lint workflow to 3.12 (diff) |
Update docker-compose with new uvicorn start command
-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: |