fix: persist runtime memory across Docker restarts #3
+3
-7
@@ -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
|
||||
Reference in new issue
Block a user