change network_mode for prometheus

This commit is contained in:
cventastic
2021-12-20 20:10:55 +01:00
parent c527e48804
commit c2c8ff7d61

View File

@@ -193,8 +193,7 @@ services:
sysctls: sysctls:
- net.ipv4.conf.all.src_valid_mark=1 - net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped restart: unless-stopped
networks:
- $NET_MONITOR
### MONITORING ### MONITORING
@@ -216,6 +215,8 @@ services:
- 9090 - 9090
networks: networks:
- $NET_MONITOR - $NET_MONITOR
network_mode:
- service:wireguard
labels: labels:
org.label-schema.group: "monitoring" org.label-schema.group: "monitoring"