--- services: homarr: 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 networks: - proxy ports: - 7575:7575 labels: com.centurylinklabs.watchtower.enable: true 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."