1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-23 02:06:15 +02:00

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.
This commit is contained in:
bo0tzz 2024-04-23 15:09:24 +02:00 committed by GitHub
parent a91fd772e4
commit f5cf057e84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,8 @@
# The location where your uploaded files are stored # The location where your uploaded files are stored
UPLOAD_LOCATION=./library 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" # The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release IMMICH_VERSION=release
@ -14,6 +16,5 @@ DB_PASSWORD=postgres
DB_HOSTNAME=immich_postgres DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres DB_USERNAME=postgres
DB_DATABASE_NAME=immich DB_DATABASE_NAME=immich
DB_DATA_LOCATION=./postgres
REDIS_HOSTNAME=immich_redis REDIS_HOSTNAME=immich_redis