Commit 4797da07 authored by Dobli's avatar Dobli
Browse files

set network name to prevent stack prefix

parent c2a7b333
version: "3.3" version: "3.5"
networks: networks:
habnet: habnet:
name: habnet
driver: overlay driver: overlay
attachable: true attachable: true
......
version: "3.3" version: "3.5"
networks: networks:
habnet: habnet:
name: habnet
driver: overlay driver: overlay
attachable: true attachable: true
...@@ -115,7 +116,7 @@ services: ...@@ -115,7 +116,7 @@ services:
- habnet - habnet
deploy: deploy:
labels: labels:
- "traefik.docker.network=ohpb_habnet" - "traefik.docker.network=habnet"
- "traefik.port=8181" - "traefik.port=8181"
placement: placement:
constraints: constraints:
...@@ -134,7 +135,7 @@ services: ...@@ -134,7 +135,7 @@ services:
deploy: deploy:
labels: labels:
- "traefik.port=1880" - "traefik.port=1880"
- "traefik.docker.network=ohpb_habnet" - "traefik.docker.network=habnet"
placement: placement:
constraints: constraints:
- node.labels.building == X - node.labels.building == X
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment