From 0f28e81bc10f3f2606af7a1b255d7a791638bea8 Mon Sep 17 00:00:00 2001 From: Emile Date: Wed, 9 Oct 2019 18:33:00 +0200 Subject: added the scoreboard container --- docker-compose.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index b101a50..3da06b4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -59,6 +59,29 @@ services: networks: - circus + scoreboard: + image: "circus-scoreboard:latest" + volumes: + - "/var/run/docker.sock:/var/run/docker.sock:ro" + ports: + - "8082:8080" + environment: + - HOSTNAME=${HOSTNAME} + labels: + - "traefik.enable=true" + - "traefik.http.routers.scoreboard.entrypoints=web" + - "traefik.http.routers.scoreboard.rule=Host(`scoreboard.${HOSTNAME}`)" + - "traefik.http.middlewares.scoreboard-https-redirect.redirectscheme.scheme=https" + - "traefik.http.routers.scoreboard.middlewares=scoreboard-https-redirect" + - "traefik.http.routers.scoreboard-secure.entrypoints=websecure" + - "traefik.http.routers.scoreboard-secure.rule=Host(`scoreboard.${HOSTNAME}`)" + - "traefik.http.routers.scoreboard-secure.tls=true" + - "traefik.http.routers.scoreboard-secure.tls.certresolver=mytlschallenge" + - "traefik.http.routers.scoreboard-secure.service=scoreboard" + - "traefik.http.services.scoreboard.loadbalancer.server.port=8080" + networks: + - circus + networks: circus: external: -- cgit 1.4.1