diff options
author | Emile <hanemile@protonmail.com> | 2019-10-09 18:33:00 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-09 18:33:00 +0200 |
commit | 0f28e81bc10f3f2606af7a1b255d7a791638bea8 (patch) | |
tree | 687ffbe2a449d39112d391294a46723341b20b86 | |
parent | 3634b1296d293c1aa788f630ad3e84b5bb2ec1d1 (diff) |
added the scoreboard container
-rw-r--r-- | docker-compose.yml | 23 |
1 files changed, 23 insertions, 0 deletions
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: |