From 2e7d60d87dc96414e227cca9f682206955d45e8a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 17 Jul 2023 14:16:28 +0100 Subject: [PATCH] Use gandi as cert resolver for 0rng.one --- ansible/roles/pve_docker/files/whoami/docker-compose.yml | 5 ++++- ansible/roles/upload/files/docker-compose.yml | 5 ++++- ansible/roles/yourls/files/docker-compose.yml | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ansible/roles/pve_docker/files/whoami/docker-compose.yml b/ansible/roles/pve_docker/files/whoami/docker-compose.yml index 0c1cd24..65aeeb3 100644 --- a/ansible/roles/pve_docker/files/whoami/docker-compose.yml +++ b/ansible/roles/pve_docker/files/whoami/docker-compose.yml @@ -6,7 +6,10 @@ services: restart: unless-stopped labels: - traefik.enable=true - - traefik.http.routers.whoami.rule=Host(`whoami.theorangeone.net`) || Host(`who.0rng.one`) + - traefik.http.routers.whoami.rule=Host(`whoami.theorangeone.net`) + + - traefik.http.routers.0rng-whoami.rule=Host(`who.0rng.one`) + - traefik.http.routers.0rng-whoami.tls.certresolver=gandi networks: - default - traefik diff --git a/ansible/roles/upload/files/docker-compose.yml b/ansible/roles/upload/files/docker-compose.yml index a952958..1953d51 100644 --- a/ansible/roles/upload/files/docker-compose.yml +++ b/ansible/roles/upload/files/docker-compose.yml @@ -25,7 +25,10 @@ services: - PUID={{ docker_user.id }} labels: - traefik.enable=true - - traefik.http.routers.img.rule=Host(`img.theorangeone.net`) || Host(`img.0rng.one`) + - traefik.http.routers.img.rule=Host(`img.theorangeone.net`) + + - traefik.http.routers.0rng-img.tls.certresolver=gandi + - traefik.http.routers.0rng-img.rule=Host(`img.0rng.one`) networks: - default - traefik diff --git a/ansible/roles/yourls/files/docker-compose.yml b/ansible/roles/yourls/files/docker-compose.yml index d7aee6b..13f14e7 100644 --- a/ansible/roles/yourls/files/docker-compose.yml +++ b/ansible/roles/yourls/files/docker-compose.yml @@ -18,6 +18,7 @@ services: labels: - traefik.enable=true - traefik.http.routers.yourls.rule=Host(`0rng.one`) + - traefik.http.routers.yourls.tls.certresolver=gandi networks: - default - traefik