feat: Adds user id and group id.

This commit is contained in:
2025-03-20 15:30:55 -04:00
parent 9080363e7f
commit bf7459dfc7
2 changed files with 3 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ services:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
user: ${USER_UID}:${USER_GID}
volumes:
- homarr_config:/app/data/configs
- homarr_icons:/app/public/icons

View File

@@ -1,3 +1,5 @@
NFS_ADDR="nas.local"
HOMARR_CONFIG_MNT=":/var/nfs/shared/<mnt>/homarr/config"
HOMARR_ICONS_MNT=":/var/nfs/shared/<mnt>/homarr/icons"
USER_UID=1000
USER_GID=1000