Explorar o código

chore: update env docs to, indicate that a container restart is necessary (#4054)

Daniel Dietzler hai 1 ano
pai
achega
77e38abe91
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      docs/docs/install/environment-variables.md

+ 11 - 0
docs/docs/install/environment-variables.md

@@ -4,6 +4,17 @@ sidebar_position: 90
 
 # Environment Variables
 
+:::caution
+
+To change environment variables, you must recreate the Immich containers.
+Just restarting the containers does not replace the environment within the container!
+
+In order to recreate the container using docker compose, run `docker compose up -d`.
+In most cases docker will recognize that the `.env` file has changed and recreate the affected containers.
+If this should not work, try running `docker compose up -d --force-recreate`.
+
+:::
+
 ## Docker Compose
 
 | Variable          | Description           |  Default  | Services                                                       |