From 394e7a189224b9d4581a891bb85a95c1fe68fb76 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: