From 6f53974d4203e9798b7cd652f826eaf2bdcffc2d Mon Sep 17 00:00:00 2001 From: Emile Date: Wed, 9 Oct 2019 10:55:17 +0200 Subject: added the registration container to the docke-compose --- docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docker-compose.yml') 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: -- cgit 1.4.1