Skip to content

Commit

Permalink
Update paths in compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJBoyer committed Jun 24, 2024
1 parent 90c4ab4 commit 31a0c22
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/docker-compose.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
services:
main-app:
build:
context: ./app
context: ./
target: dev
args:
- RUN_UID=${RUN_UID:-4000}
- RUN_USER=${RUN_USER:-app}
container_name: main-app
env_file: ./app/local.env
env_file: local.env
command: [
"poetry", "run", "python", "-m", "debugpy",
"--listen", "0.0.0.0:5678",
Expand All @@ -20,4 +20,4 @@ services:
ports:
- 5678:5678
volumes:
- ./app:/app
- ./:/
4 changes: 2 additions & 2 deletions app/docker-compose.override.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ services:

main-app:
env_file:
- ./app/local.env
- ./app/.env
- local.env
- .env
6 changes: 3 additions & 3 deletions app/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ services:

main-app:
build:
context: ./app
context: ./
target: dev
args:
- RUN_UID=${RUN_UID:-4000}
- RUN_USER=${RUN_USER:-app}
command: ["poetry", "run", "flask", "--app", "src.app", "run", "--host", "0.0.0.0", "--port", "8080", "--reload"]
container_name: main-app
env_file: ./app/local.env
env_file: local.env
ports:
- 8080:8080
volumes:
- ./app:/app
- ./:/
depends_on:
- main-db

Expand Down

0 comments on commit 31a0c22

Please sign in to comment.