From bf7459dfc757b7daefb556a96aed1c8c974c10a0 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Thu, 20 Mar 2025 15:30:55 -0400 Subject: [PATCH] feat: Adds user id and group id. --- compose.yaml | 1 + example.env | 2 ++ 2 files changed, 3 insertions(+) diff --git a/compose.yaml b/compose.yaml index 7617171..b42d28d 100644 --- a/compose.yaml +++ b/compose.yaml @@ -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 diff --git a/example.env b/example.env index 9b73fa3..369fdc8 100644 --- a/example.env +++ b/example.env @@ -1,3 +1,5 @@ NFS_ADDR="nas.local" HOMARR_CONFIG_MNT=":/var/nfs/shared//homarr/config" HOMARR_ICONS_MNT=":/var/nfs/shared//homarr/icons" +USER_UID=1000 +USER_GID=1000