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 theycallhermax
parent 1dc7d087a7
commit b2b90ce4f5
No known key found for this signature in database
GPG key ID: 24D2803F3E25BF2D

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: