prom autodiscovery

This commit is contained in:
cventastic
2022-03-16 14:01:50 +01:00
parent 7f1cb0474e
commit 892c5eb1e6
2 changed files with 16 additions and 3 deletions

View File

@@ -31,6 +31,7 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
networks:
- chains
- mon
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ipwhitelist.ipwhitelist.sourcerange=$WHITELIST"
@@ -44,4 +45,7 @@ networks:
driver: bridge
ipam:
config:
- subnet: 192.168.0.1/27
- subnet: 192.168.0.1/27
mon:
driver: bridge
internal: true