feat: Adds user id and group id.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user