I am using Traefik in docker swarm with several nodes. In my compose file, i mount NFS volumes for the dynamic config and other paths directly in the compose:
#! volumes
volumes:
config_data:
driver_opts:
type: "nfs"
o: "addr=10.12.13.14,rw,nolock,soft,nfsvers=4"
device: ":/volume1/DOCKER-Data/traefik/"
labels:
recreate: "true"
dynamic_conf:
driver_opts:
type: "nfs"
o: "addr=10.12.13.14,rw,nolock,soft,nfsvers=4"
device: ":/volume1/DOCKER-Data/traefik/dynamic-conf"
labels:
recreate: "true"
in this scenario, whenever i make changes to any files in the dynamic config directory, the system does not automatically pick them up. I saw a few threads like this one from 2023 regarding issues with inotify (fsnotify). was wondering if there were any improvements or changes in v3 that can overcome this (maybe polling)? any other workarounds?