From 18bd556c9d8fc6dd52a0b27e37267af64ca8cf9a Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Thu, 13 Jun 2024 13:56:46 +0800 Subject: [PATCH] Refactor Traefik configuration to use new certificate location and update volume mappings --- swarm/core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm/core.yml b/swarm/core.yml index 2316311..4cd1656 100644 --- a/swarm/core.yml +++ b/swarm/core.yml @@ -89,7 +89,7 @@ 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 - - /var/data/config/acme.json:/certificates/acme.json + - traefik-public-certificates:/certificates - /var/data/config/traefik/services.yml:/etc/traefik/services.yml:ro command: # Enable Docker in Traefik, so that it reads labels from Docker services