From 85f972b5eb1879832a5e852132d9945f2fe39c01 Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Wed, 11 Sep 2024 11:24:45 +0800 Subject: [PATCH] Refactor Traefik local_services.yml to use HTTPS for Proxmox URLs and update certificate storage --- swarm/local_core.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/swarm/local_core.yml b/swarm/local_core.yml index a1b9e98..fe7990c 100644 --- a/swarm/local_core.yml +++ b/swarm/local_core.yml @@ -96,7 +96,8 @@ services: # Add Docker as a mounted volume, so that Traefik can read the labels of other services - /var/run/docker.sock:/var/run/docker.sock:ro # Mount the volume to store the certificates - - traefik-public-certificates:/certificates + # - traefik-public-certificates:/certificates + - /var/data/config/traefik/acme.json:/certificates/acme.json - /var/data/config/traefik/certs:/certs:ro # Mount the configuration file for Traefik - /var/data/config/traefik/local_dynamic.yml:/etc/traefik/local_dynamic.yml:ro @@ -186,7 +187,7 @@ volumes: # Create a volume to store the certificates, there is a constraint to make sure # Traefik is always deployed to the same Docker node with the same volume containing # the HTTPS certificates - traefik-public-certificates: + # traefik-public-certificates: networks: # Use the previously created public network "traefik-public", shared with other