change network_mode for prometheus
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user