fix: persist Docker runtime state on host

This commit is contained in:
Barsic Bot committed 2026-11-13 22:13:52 +03:00
1 parent 056fc2c90a
commit f432094868
1 file changed
+3 -7
+3 -7
View File
@@ -8,17 +8,13 @@ services:
init: true
env_file:
- .env
environment:
# All runtime state must live on the bind-mounted host directory.
DATA_DIR: /app/data
extra_hosts:
# Allows reaching host services (e.g. local Ollama, SearXNG, local Gitea) via host.docker.internal
- "host.docker.internal:host-gateway"
volumes:
# Persistent data: sessions, global memory, scratchpad notes, tokens
- ./data:/app/data
# Skills and extensions mounted for customization without rebuilding
- ./skills:/app/skills:ro
- ./extensions:/app/extensions:ro
- ./gcal.json:/app/gcal.json:ro
# Uncomment to mount credentials files if placed in project root:
# - ./service_account.json:/app/service_account.json:ro
# - ./credentials.json:/app/credentials.json:ro
# - ./gcal.json:/app/gcal.json:ro