fix: allow explicit host path for persistent data
This commit is contained in:
1 parent
276b338b9c
commit
64deeae190
1 file changed
+3
-2
+3
-2
@@ -9,12 +9,13 @@ services:
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
# All runtime state must live on the bind-mounted host directory.
|
||||
# Application path inside the container; this must match the mount target.
|
||||
DATA_DIR: /app/data
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
# Override DATA_DIR_HOST in .env for a path outside the project directory.
|
||||
- "${DATA_DIR_HOST:-./data}:/app/data"
|
||||
- ./skills:/app/skills:ro
|
||||
- ./extensions:/app/extensions:ro
|
||||
- ./gcal.json:/app/gcal.json:ro
|
||||
Reference in new issue
Block a user