diff --git a/stack.yml b/stack.yml index 41a0896..9fb21ad 100644 --- a/stack.yml +++ b/stack.yml @@ -2,9 +2,9 @@ services: swarmpit: image: swarmpit/swarmpit:latest environment: - SWARMPIT_DB: http://couchdb:5984 - SWARMPIT_INFLUXDB: http://influxdb:8086 - SWAMPIT_DOCKER_SOCK: http://socketproxy:2375 + SWARMPIT_DB: http://swarmpit_couchdb:5984 + SWARMPIT_INFLUXDB: http://swarmpit_influxdb:8086 + SWAMPIT_DOCKER_SOCK: http://socketproxy_socketproxy:2375 volumes: - /var/run/docker.sock:/var/run/docker.sock:ro healthcheck: @@ -13,7 +13,7 @@ services: timeout: 10s retries: 20 networks: - - net + - default - traefik - socketproxy deploy: @@ -51,7 +51,7 @@ services: COUCHDB_USER: ${COUCHDB_USER:-admin} COUCHDB_PASSWORD: ${COUCHDB_PASSWORD:-password} networks: - - net + - default deploy: endpoint_mode: dnsrr resources: @@ -75,7 +75,7 @@ services: INFLUXDB_ADMIN_PASSWORD: ${INFLUXDB_ADMIN_PASSWORD:-password} INFLUXDB_HTTP_AUTH_ENABLED: "true" networks: - - net + - default deploy: endpoint_mode: dnsrr resources: @@ -95,7 +95,7 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock:ro networks: - - net + - default deploy: mode: global endpoint_mode: dnsrr @@ -111,7 +111,7 @@ services: memory: 32M networks: - net: + default: driver: overlay traefik: external: true