From 4a1de9417a86dd7166cb9f5fa418f50220b2550a Mon Sep 17 00:00:00 2001 From: max Date: Mon, 23 Dec 2024 17:26:24 +0000 Subject: [PATCH] try to bind volume 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 747d1ff..d41f5aa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,8 +18,12 @@ services: ports: - "8000:8000" volumes: - - catask-data:/catask/config.json - - catask-data:/catask/.env + - type: bind + source: catask-data + target: /catask/config.json + - type: bind + source: catask-data + target: /catask/.env build: dockerfile: Dockerfile args: