aboutsummaryrefslogtreecommitdiffstats
path: root/docker/docker-compose.yml
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-02-09 15:17:22 +0000
committerMohamed Bassem <me@mbassem.com>2025-02-09 15:17:22 +0000
commitbc1e496d29aa8c6a004d9de21e32fd94ab913d84 (patch)
treeeda9117d9af3b9ee6beec1d1fa77044d7b541c30 /docker/docker-compose.yml
parentf9c2557f98baab00245efb9f97461d7b9b7c186a (diff)
downloadkarakeep-bc1e496d29aa8c6a004d9de21e32fd94ab913d84.tar.zst
docker: Add a warning about now changing the DATA_DIR env variable
Diffstat (limited to 'docker/docker-compose.yml')
-rw-r--r--docker/docker-compose.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index e3a5de95..0ede55e2 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -4,6 +4,9 @@ services:
image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release}
restart: unless-stopped
volumes:
+ # By default, the data is stored in a docker volume called "data".
+ # If you want to mount a custom directory, change the volume mapping to:
+ # - /path/to/your/directory:/data
- data:/data
ports:
- 3000:3000
@@ -13,7 +16,10 @@ services:
MEILI_ADDR: http://meilisearch:7700
BROWSER_WEB_URL: http://chrome:9222
# OPENAI_API_KEY: ...
- DATA_DIR: /data
+
+ # You almost never want to change the value of the DATA_DIR variable.
+ # If you want to mount a custom directory, change the volume mapping above instead.
+ DATA_DIR: /data # DON'T CHANGE THIS
chrome:
image: gcr.io/zenika-hub/alpine-chrome:123
restart: unless-stopped