From fe80c3876080f280311827bb8e98f2e144078b42 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Sat, 13 Nov 2021 01:57:08 +0300 Subject: [PATCH] docker-compose: always mount source volume --- docker-compose.debug.yml | 4 +--- docker-compose.yml | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.debug.yml b/docker-compose.debug.yml index a4107e3..1a4f81f 100644 --- a/docker-compose.debug.yml +++ b/docker-compose.debug.yml @@ -13,9 +13,7 @@ services: environment: FLASK_ENV: development #FLASK_RUN_RELOAD: False - FLASK_APP: "bin/srv.py" + FLASK_APP: "bin/app.py" FLASK_RUN_HOST: 0.0.0.0 FLASK_RUN_PORT: 8002 entrypoint: ["/usr/bin/flask", "run"] - volumes: - - .:/app:Z diff --git a/docker-compose.yml b/docker-compose.yml index 9e5f58f..bba1dda 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,8 @@ services: - CHEATSH_CACHE_REDIS_HOST=redis ports: - "8002:8002" + volumes: + - .:/app:Z redis: image: redis:4-alpine volumes: