about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 660b471..9ba3e15 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -142,6 +142,25 @@ services:
         networks:
             - circus
 
+    manager:
+        image: "registry.darknebu.la/circus/manager:latest"
+        container_name: "manager"
+        labels:
+            - "traefik.enable=true"
+            - "traefik.http.routers.manager.entrypoints=web"
+            - "traefik.http.routers.manager.rule=Host(`manager.${HOSTNAME}`)"
+            - "traefik.http.middlewares.manager-https-redirect.redirectscheme.scheme=https"
+            - "traefik.http.routers.manager.middlewares=manager-https-redirect"
+            - "traefik.http.routers.manager-secure.entrypoints=websecure"
+            - "traefik.http.routers.manager-secure.rule=Host(`manager.${HOSTNAME}`)"
+            - "traefik.http.routers.manager-secure.tls=true"
+            - "traefik.http.routers.manager-secure.tls.certresolver=mytlschallenge"
+            - "traefik.http.routers.manager-secure.service=manager"
+            - "traefik.http.services.manager.loadbalancer.server.port=8080"
+        networks:
+            - circus
+            - circus_db
+
     postgresql:
         image: postgresql:12
         volumes: