From 31a0c228f2a2619a2aa14ed1d212643a405652ed Mon Sep 17 00:00:00 2001 From: Kevin Boyer Date: Mon, 24 Jun 2024 10:04:01 -0400 Subject: [PATCH] Update paths in compose files --- app/docker-compose.debug.yml | 6 +++--- app/docker-compose.override.yml.example | 4 ++-- app/docker-compose.yml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/docker-compose.debug.yml b/app/docker-compose.debug.yml index 602c799..1e8a80a 100644 --- a/app/docker-compose.debug.yml +++ b/app/docker-compose.debug.yml @@ -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", @@ -20,4 +20,4 @@ services: ports: - 5678:5678 volumes: - - ./app:/app + - ./:/ diff --git a/app/docker-compose.override.yml.example b/app/docker-compose.override.yml.example index 119f96c..94443e8 100644 --- a/app/docker-compose.override.yml.example +++ b/app/docker-compose.override.yml.example @@ -2,5 +2,5 @@ services: main-app: env_file: - - ./app/local.env - - ./app/.env + - local.env + - .env diff --git a/app/docker-compose.yml b/app/docker-compose.yml index ddb0c30..c7ee6bd 100644 --- a/app/docker-compose.yml +++ b/app/docker-compose.yml @@ -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