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