about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-09 10:55:17 +0200
committerEmile <hanemile@protonmail.com>2019-10-09 10:55:17 +0200
commit6f53974d4203e9798b7cd652f826eaf2bdcffc2d (patch)
tree3aa76c7675ef378fd3fd45d0e9fbaacbfc3e2aa9
parent068d2adfca4574a587fc60a259a275aae64c6764 (diff)
added the registration container to the docke-compose
-rw-r--r--docker-compose.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 1c61dd6..de16af1 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -23,6 +23,20 @@ services:
         networks:
             - circus
 
+    register:
+        image: "circus-register:latest"
+        volumes:
+            - "/var/run/docker.sock:/var/run/docker.sock:ro"
+        ports:
+            - "8081:8081"
+        labels:
+            - "traefik.enable=true"
+            - "traefik.http.routers.register.entrypoints=web"
+            - "traefik.http.routers.register.rule=Host(`register.docker.localhost`)"
+            - "traefik.http.services.register.loadbalancer.server.port=8081"
+        networks:
+            - circus
+
 networks:
     circus:
         external: