Traefik: Simplify Docker App Deployments

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 3

  • @zippi777
    @zippi777 29 วันที่ผ่านมา +1

    Registered!

  • @TheFGrox
    @TheFGrox หลายเดือนก่อน +1

    I don't know why but for me the certificatesresolvers..acme.storage should absolutely be "/letsencrypt/acme.json" or it won't work otherwise.
    So, for the volume I absolutely have to declare: "/whatever/is/your/path/to/certs:/letsencrypt"; e.g. for you case "/etc/traefik/certs:/letsencrypt".

    • @SoftsWeb
      @SoftsWeb  หลายเดือนก่อน +2

      This is most likely due to permissions on the host machine. Traefik writes the acme.json file with certificates, and it needs proper permissions to read and write to the file.
      Ensure that the directory `/etc/traefik/certs/` exists and has the correct permissions for the Traefik process:
      sudo mkdir -p /etc/traefik/certs
      sudo chmod 600 /etc/traefik/certs/acme.json
      sudo chown -R 1000:1000 /etc/traefik/certs