Set docker.group label for all containers so monitoring can group them
This commit is contained in:
parent
a938fb02fe
commit
e8e8b79de8
6 changed files with 9 additions and 6 deletions
|
@ -22,7 +22,7 @@ services:
|
|||
- "traefik.http.routers.traefik.rule=Host(`traefik.${DOMAIN}`)"
|
||||
- "traefik.http.routers.traefik.entrypoints=web"
|
||||
- "traefik.http.services.traefik.loadbalancer.server.port=8080"
|
||||
- "docker.group=selfhost"
|
||||
- "docker.group=proxy"
|
||||
extra_hosts:
|
||||
- host.docker.internal:172.17.0.1
|
||||
|
||||
|
@ -36,7 +36,7 @@ services:
|
|||
- "traefik.http.routers.whoami.rule=Host(`whoami.${DOMAIN}`)"
|
||||
- "traefik.http.routers.whoami.entrypoints=web"
|
||||
- "traefik.http.services.whoami.loadbalancer.server.port=80"
|
||||
- "docker.group=selfhost"
|
||||
- "docker.group=proxy"
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue