From 098bd795741fd90c2cc6f87bb8ad892691d549c6 Mon Sep 17 00:00:00 2001 From: Yuri-Lima Date: Mon, 28 Aug 2023 10:21:24 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20TEST:=20labels=20added?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 4b3f7f9..6c9dd7b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -18,6 +18,20 @@ services: ports: - "8083:80" # - "443:443" + labels: + - "traefik.enable=true" + - "traefik.http.routers.phxalpha.entrypoints=https" + - "traefik.http.routers.phxalpha.rule=Host(`phx.yurilima.uk`)" + - "traefik.http.routers.phxalpha.middlewares=secHeaders@file" + - "traefik.http.routers.phxalpha.tls=true" + - "traefik.http.routers.phxalpha.tls.certresolver=http" + - "traefik.http.routers.phxalpha.service=phxalpha" + - "traefik.http.services.phxalpha.loadbalancer.server.port=80" + - "traefik.docker.network=proxy" + + - "traefik.http.routers.phxalpha-insecure.entrypoints=http" + - "traefik.http.routers.phxalpha-insecure.rule=Host(`phx.yurilima.uk`)" + - "traefik.http.routers.phxalpha-insecure.tls=false" networks: - frontend depends_on: