From f5b87833f86976f58994ec03f9677585b7e28c86 Mon Sep 17 00:00:00 2001
From: Mark Monteiro <marknr.monteiro@protonmail.com>
Date: Wed, 17 May 2023 13:36:44 -0400
Subject: [PATCH] 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
---
 docker/example.env | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docker/example.env b/docker/example.env
index 010facf1cc..f46459e45b 100644
--- a/docker/example.env
+++ b/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