refactor: move homarr SECRET_ENCRYPTION_KEY to .env
Define HOMARR_SECRET_ENCRYPTION_KEY in .env and reference it from docker-compose.yml instead of hardcoding it inline, keeping all secrets in .env. Resolved value is unchanged (no container recreate); deployed to valhalla and validated with 'dc config homarr'.
This commit is contained in:
+1
-1
@@ -623,7 +623,7 @@ services:
|
||||
image: ghcr.io/homarr-labs/homarr:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SECRET_ENCRYPTION_KEY=98989838bf06c9e42d77944ce848963a22ab316b55a09b0d199652ef0934394f
|
||||
- SECRET_ENCRYPTION_KEY=${HOMARR_SECRET_ENCRYPTION_KEY}
|
||||
networks:
|
||||
- management
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user