From f5cf057e8487625fa4a641d7d36d0feb36d04cc6 Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Tue, 23 Apr 2024 15:09:24 +0200 Subject: [PATCH] fix: Make DB_DATA_LOCATION more prominent in .env file (#9035) We've already had a case in #9033 of someone forgetting to change it and losing the data on reboot. --- docker/example.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/example.env b/docker/example.env index 234ba3a4018fc..5260e24ff4979 100644 --- a/docker/example.env +++ b/docker/example.env @@ -2,6 +2,8 @@ # The location where your uploaded files are stored UPLOAD_LOCATION=./library +# The location where your database files are stored +DB_DATA_LOCATION=./postgres # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release @@ -14,6 +16,5 @@ DB_PASSWORD=postgres DB_HOSTNAME=immich_postgres DB_USERNAME=postgres DB_DATABASE_NAME=immich -DB_DATA_LOCATION=./postgres REDIS_HOSTNAME=immich_redis