[修改]修改网络模式为host,调整了各个服务的网络地址
This commit is contained in:
@@ -4,12 +4,14 @@ services:
|
||||
ports:
|
||||
- 2379:2379
|
||||
- 2380:2370
|
||||
network_mode: host
|
||||
prometheus:
|
||||
build: docker/prometheus
|
||||
ports:
|
||||
- 9090:9090
|
||||
depends_on:
|
||||
- node-exporter
|
||||
network_mode: host
|
||||
panel:
|
||||
build: management-panel
|
||||
# volumes:
|
||||
@@ -31,4 +33,5 @@ services:
|
||||
volumes:
|
||||
- '/:/host:ro'
|
||||
opcua-exporter:
|
||||
build: opcua-exporter
|
||||
build: opcua-exporter
|
||||
network_mode: host
|
||||
Reference in New Issue
Block a user