get catask configs from volume "subdirectory" in docker compose

This commit is contained in:
max 2024-12-23 18:00:41 +00:00 committed by git.gay
parent 9b26e35e26
commit 394e7a1892

View file

@ -19,12 +19,16 @@ services:
ports: ports:
- "8000:8000" - "8000:8000"
volumes: volumes:
- type: bind - type: volume
source: catask-data source: catask-data
target: /catask/config.json target: /catask/config.json
- type: bind volume:
subpath: .
- type: volume
source: catask-data source: catask-data
target: /catask/.env target: /catask/.env
volume:
subpath: .
build: build:
dockerfile: Dockerfile dockerfile: Dockerfile
args: args: