about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml23
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: