From ef2965f72fa00cb9f75cb267441a0df61175b385 Mon Sep 17 00:00:00 2001 From: Martin Lablans Date: Fri, 28 Oct 2022 11:37:49 +0200 Subject: [PATCH] Make traefik use certificates at /etc/bridgehead/traefik-tls --- ccp/docker-compose.yml | 1 - lib/traefik-configuration/certificates.yaml | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ccp/docker-compose.yml b/ccp/docker-compose.yml index cd6baf0..edb35c5 100644 --- a/ccp/docker-compose.yml +++ b/ccp/docker-compose.yml @@ -8,7 +8,6 @@ services: - --entrypoints.web.address=:80 - --entrypoints.websecure.address=:443 - --providers.docker=true - - --providers.file.watch=true - --providers.file.directory=/configuration/ - --api.dashboard=true - --accesslog=true # print access-logs diff --git a/lib/traefik-configuration/certificates.yaml b/lib/traefik-configuration/certificates.yaml index 2644333..af392c9 100644 --- a/lib/traefik-configuration/certificates.yaml +++ b/lib/traefik-configuration/certificates.yaml @@ -1,4 +1,6 @@ tls: - certificates: - - certFile: /certs/fullchain.pem - keyFile: /certs/privkey.pem + stores: + default: + defaultCertificate: + certFile: /certs/fullchain.pem + keyFile: /certs/privkey.pem