浏览代码

Add comment about Docker secrets to example.env (#2454)

Add a comment to indicate the support for Docker secrets added in https://github.com/immich-app/immich/pull/1254
Mark Monteiro 2 年之前
父节点
当前提交
f5b87833f8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docker/example.env

+ 2 - 0
docker/example.env

@@ -2,6 +2,8 @@
 # Database
 ###################################################################################
 
+# NOTE: The following four database variables support Docker secrets by adding a *_FILE suffix to the variable name
+# See the docker-compose documentation on secrets for additional details: https://docs.docker.com/compose/compose-file/compose-file-v3/#secrets
 DB_HOSTNAME=immich_postgres
 DB_USERNAME=postgres
 DB_PASSWORD=postgres