From bc1e496d29aa8c6a004d9de21e32fd94ab913d84 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 9 Feb 2025 15:17:22 +0000 Subject: docker: Add a warning about now changing the DATA_DIR env variable --- docker/docker-compose.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docker') 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 -- cgit v1.2.3-70-g09d2