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
|
restart: unless-stopped
|
||||||
user: ${USER_UID}:${USER_GID}
|
user: ${USER_UID}:${USER_GID}
|
||||||
volumes:
|
volumes:
|
||||||
- homarr_config:/app/data/configs
|
- ./config:/app/data/configs
|
||||||
- homarr_icons:/app/public/icons
|
- ./icons:/app/public/icons
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
ports:
|
ports:
|
||||||
@@ -19,18 +19,18 @@ networks:
|
|||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
# volumes:
|
||||||
homarr_config:
|
# homarr_config:
|
||||||
driver_opts:
|
# driver_opts:
|
||||||
type: nfs
|
# type: nfs
|
||||||
o: "addr=${NFS_ADDR},nolock,soft,rw"
|
# o: "addr=${NFS_ADDR},nolock,soft,rw"
|
||||||
device: "${HOMARR_CONFIG_MNT:-:/mnt/homarr/config}"
|
# device: "${HOMARR_CONFIG_MNT:-:/mnt/homarr/config}"
|
||||||
labels:
|
# labels:
|
||||||
dev.housh.description: "Homarr configuration volume."
|
# dev.housh.description: "Homarr configuration volume."
|
||||||
homarr_icons:
|
# homarr_icons:
|
||||||
driver_opts:
|
# driver_opts:
|
||||||
type: nfs
|
# type: nfs
|
||||||
o: "addr=${NFS_ADDR},nolock,soft,rw"
|
# o: "addr=${NFS_ADDR},nolock,soft,rw"
|
||||||
device: "${HOMARR_ICONS_MNT:-:/var/nfs/shared/docker/homarr/icons}"
|
# device: "${HOMARR_ICONS_MNT:-:/var/nfs/shared/docker/homarr/icons}"
|
||||||
labels:
|
# labels:
|
||||||
dev.housh.description: "Homarr icons volume."
|
# dev.housh.description: "Homarr icons volume."
|
||||||
|
|||||||
Reference in New Issue
Block a user