From b2b90ce4f5a7f13728851f9c8cb353d316c6491c Mon Sep 17 00:00:00 2001 From: max Date: Mon, 23 Dec 2024 18:00:41 +0000 Subject: [PATCH] get catask configs from volume "subdirectory" in docker compose --- docker-compose.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 80754a9..8ffbe03 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,12 +19,16 @@ services: ports: - "8000:8000" volumes: - - type: bind + - type: volume source: catask-data target: /catask/config.json - - type: bind + volume: + subpath: . + - type: volume source: catask-data target: /catask/.env + volume: + subpath: . build: dockerfile: Dockerfile args: