feat: Moves config and icons to just use a bind mount.
This commit is contained in:
34
compose.yaml
34
compose.yaml
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user