From 9bb1ef9358a850417b6345cca0f25b061bc47baa Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sun, 24 Sep 2023 19:48:42 +0200 Subject: [PATCH] Dolibarr block for external ip --- roles/dolibarr/templates/docker-compose.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/dolibarr/templates/docker-compose.yml.j2 b/roles/dolibarr/templates/docker-compose.yml.j2 index 5177eb2..a18acdb 100644 --- a/roles/dolibarr/templates/docker-compose.yml.j2 +++ b/roles/dolibarr/templates/docker-compose.yml.j2 @@ -37,6 +37,7 @@ services: - "traefik.http.routers.dolibarr-secure.rule=Host(`dolibarr.{{ server.domain }}`)" - "traefik.http.routers.dolibarr-secure.tls=true" - "traefik.http.routers.dolibarr-secure.tls.certresolver=sslResolver" + - "traefik.http.routers.dolibarr-secure.middlewares=private-network@file" - "traefik.docker.network=proxy" networks: