diff options
-rw-r--r-- | docker-compose.yml | 14 |
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: |