Merge pull request #998 from Dokploy/fix/homarr-volumes

fix(homarr): use named volume for /appdata and 64-char hex encryption key
This commit is contained in:
Mauricio Siu
2026-07-14 13:57:07 -06:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -4,8 +4,11 @@ services:
restart: unless-stopped
volumes:
# - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ../homarr/appdata:/appdata
- homarr_appdata:/appdata
environment:
- SECRET_ENCRYPTION_KEY=${SECRET_ENCRYPTION_KEY}
ports:
- 7575
volumes:
homarr_appdata:

View File

@@ -1,6 +1,6 @@
[variables]
main_domain = "${domain}"
secret_key = "${password:64}"
secret_key = "${hash:64}"
[config]
env = ["SECRET_ENCRYPTION_KEY=${secret_key}"]