about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-20 17:06:11 +0200
committerEmile <hanemile@protonmail.com>2019-10-20 17:06:11 +0200
commitb85c088cdaf2deb36654d666114a232dc5fd6b0a (patch)
tree4e1563e3406792e0478a1e033857e22208a6479f
parent4b99198c56657c2cac00bc22f52e8fe4688de68a (diff)
added the landingpage
-rw-r--r--docker-compose.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 24633f2..a688d4e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -141,6 +141,23 @@ services:
             - "traefik.http.services.grafana.loadbalancer.server.port=3000"
         networks:
             - circus
+    landingpage:
+        image: "registry.darknebu.la/circus/landingpage:latest"
+        container_name: "landingpage"
+        labels:
+            - "traefik.enable=true"
+            - "traefik.http.routers.landingpage.entrypoints=web"
+            - "traefik.http.routers.landingpage.rule=Host(`${HOSTNAME}`)"
+            - "traefik.http.middlewares.landingpage-https-redirect.redirectscheme.scheme=https"
+            - "traefik.http.routers.landingpage.middlewares=landingpage-https-redirect"
+            - "traefik.http.routers.landingpage-secure.entrypoints=websecure"
+            - "traefik.http.routers.landingpage-secure.rule=Host(`${HOSTNAME}`)"
+            - "traefik.http.routers.landingpage-secure.tls=true"
+            - "traefik.http.routers.landingpage-secure.tls.certresolver=mytlschallenge"
+            - "traefik.http.routers.landingpage-secure.service=landingpage"
+            - "traefik.http.services.landingpage.loadbalancer.server.port=8080"
+        networks:
+            - circus
 
     manager:
         image: "registry.darknebu.la/circus/manager:latest"