fix: persist runtime memory across Docker restarts #3
+3
-7
@@ -8,17 +8,13 @@ services:
|
|||||||
init: true
|
init: true
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
environment:
|
||||||
|
# All runtime state must live on the bind-mounted host directory.
|
||||||
|
DATA_DIR: /app/data
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
# Allows reaching host services (e.g. local Ollama, SearXNG, local Gitea) via host.docker.internal
|
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
volumes:
|
volumes:
|
||||||
# Persistent data: sessions, global memory, scratchpad notes, tokens
|
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
# Skills and extensions mounted for customization without rebuilding
|
|
||||||
- ./skills:/app/skills:ro
|
- ./skills:/app/skills:ro
|
||||||
- ./extensions:/app/extensions:ro
|
- ./extensions:/app/extensions:ro
|
||||||
- ./gcal.json:/app/gcal.json: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