use docker secrets for db password

This commit is contained in:
Hermann Käser
2025-12-12 17:16:01 -05:00
committed by yksflip
parent a39fc87367
commit 958294c1f6
4 changed files with 22 additions and 9 deletions

View File

@ -17,11 +17,9 @@ DB_DATA_LOCATION=./postgres
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC
# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
SECRET_DB_PASSWORD_VERSION=v1