feat: Moves config and icons to just use a bind mount.

This commit is contained in:
2025-03-20 15:34:15 -04:00
parent bf7459dfc7
commit 52d26b8f81

View File

@@ -6,8 +6,8 @@ services:
restart: unless-stopped
user: ${USER_UID}:${USER_GID}
volumes:
- homarr_config:/app/data/configs
- homarr_icons:/app/public/icons
- ./config:/app/data/configs
- ./icons:/app/public/icons
networks:
- proxy
ports:
@@ -19,18 +19,18 @@ networks:
proxy:
external: true
volumes:
homarr_config:
driver_opts:
type: nfs
o: "addr=${NFS_ADDR},nolock,soft,rw"
device: "${HOMARR_CONFIG_MNT:-:/mnt/homarr/config}"
labels:
dev.housh.description: "Homarr configuration volume."
homarr_icons:
driver_opts:
type: nfs
o: "addr=${NFS_ADDR},nolock,soft,rw"
device: "${HOMARR_ICONS_MNT:-:/var/nfs/shared/docker/homarr/icons}"
labels:
dev.housh.description: "Homarr icons volume."
# volumes:
# homarr_config:
# driver_opts:
# type: nfs
# o: "addr=${NFS_ADDR},nolock,soft,rw"
# device: "${HOMARR_CONFIG_MNT:-:/mnt/homarr/config}"
# labels:
# dev.housh.description: "Homarr configuration volume."
# homarr_icons:
# driver_opts:
# type: nfs
# o: "addr=${NFS_ADDR},nolock,soft,rw"
# device: "${HOMARR_ICONS_MNT:-:/var/nfs/shared/docker/homarr/icons}"
# labels:
# dev.housh.description: "Homarr icons volume."