diff --git a/docker-compose.yml b/docker-compose.yml index 859da40..b8b41a0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,6 +31,7 @@ services: - "80:80" - "8080:8080" # Traefik dashboard volumes: + - /var/run/docker.sock:/var/run/docker.sock - ./traefik/traefik.yml:/etc/traefik/traefik.yml data-service: diff --git a/traefik/traefik.yml b/traefik/traefik.yml index 83d5232..205a8ab 100644 --- a/traefik/traefik.yml +++ b/traefik/traefik.yml @@ -2,7 +2,11 @@ entryPoints: web: address: ":80" + providers: + docker: + exposedByDefault: false + consulCatalog: endpoint: address: "consul:8500"