fix: bind persistent data path explicitly in compose
This commit is contained in:
1 parent
ca647d2298
commit
d449fd6905
1 file changed
+3
-1
+3
-1
@@ -8,6 +8,9 @@ services:
|
|||||||
init: true
|
init: true
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
environment:
|
||||||
|
# Keep every persistence-aware component on the 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
|
# 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"
|
||||||
@@ -21,4 +24,3 @@ services:
|
|||||||
# Uncomment to mount credentials files if placed in project root:
|
# Uncomment to mount credentials files if placed in project root:
|
||||||
# - ./service_account.json:/app/service_account.json:ro
|
# - ./service_account.json:/app/service_account.json:ro
|
||||||
# - ./credentials.json:/app/credentials.json:ro
|
# - ./credentials.json:/app/credentials.json:ro
|
||||||
# - ./gcal.json:/app/gcal.json:ro
|
|
||||||
Reference in new issue
Block a user