about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml5
-rw-r--r--prometheus.yml5
2 files changed, 8 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 9871f1f..453e2ca 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -61,6 +61,7 @@ services:
 
     scoreboard:
         image: "circus-scoreboard:latest"
+        container_name: "scoreboard"
         volumes:
             - "/var/run/docker.sock:/var/run/docker.sock:ro"
         ports:
@@ -71,8 +72,8 @@ services:
             - "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.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"
diff --git a/prometheus.yml b/prometheus.yml
new file mode 100644
index 0000000..c7067c3
--- /dev/null
+++ b/prometheus.yml
@@ -0,0 +1,5 @@
+scrape_configs:
+  - job_name: 'scoreboard'
+    scrape_interval: 5s
+    static_configs:
+        - targets: ['scoreboard:8080']