diff --git a/compose.yaml b/compose.yaml index fd9858d..347621f 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,8 +5,8 @@ services: image: ghcr.io/ajnart/homarr:latest restart: unless-stopped volumes: - - ./config:/app/data/configs - - ./icons:/app/public/icons + - ${CONFIG_MNT}:/app/data/configs + - ${ICONS_MNT}:/app/public/icons networks: - proxy ports: @@ -17,19 +17,3 @@ services: 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." diff --git a/example.env b/example.env index 9b73fa3..b69fd10 100644 --- a/example.env +++ b/example.env @@ -1,3 +1,2 @@ -NFS_ADDR="nas.local" -HOMARR_CONFIG_MNT=":/var/nfs/shared//homarr/config" -HOMARR_ICONS_MNT=":/var/nfs/shared//homarr/icons" +CONFIG_MNT="/mnt" # Host mount path for configuration files. +ICONS_MNT="/mnt" # Host mount path for icons.