Skip to content
This repository was archived by the owner on Dec 17, 2020. It is now read-only.
This repository was archived by the owner on Dec 17, 2020. It is now read-only.

[NFS mount] Changes in acme file are not detected #2

@niklaskappler

Description

@niklaskappler

Hi, first of all, thank you for that amazing tool and your additional functionalities. I detected yesterday some misfalling behaviour.

I'm trying to run your container in swarm mode and as of the swarm mode all my data is based nfs mounts. Now, as I investigated, changes within the acme.json file are reflected into the container, but the watchdog script does not detect the changed file. As a result the extractor script is still waiting for changes, but will never extract the certs. When I inspect the acme file within the container, changes in the data or the metadata like date or even permissions are updated.

Have you ever detected some behaviour?

Attached below my docker yml. The traefik_data volume is also an nfs mounted volume like the mail_cert is. It is just specified within the traefik stack.

version: '3.5'
services:
  certs:
    image: snowmb/traefik-certificate-extractor
    volumes:
      - traefik_data:/app/data:ro
      - mail_cert:/app/certs:rw
      - /var/run/docker.sock:/var/run/docker.sock
    command: -r

volumes:
  mail_cert:
      driver: local
      driver_opts:
        type: nfs4
        o: "addr=10.0.0.1"
        device: ":/mail/mail/certs"
  traefik_data:
      external: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions