[优化]etcd、node-exporter、prometheus的dockerfile部署优化
This commit is contained in:
@@ -4,13 +4,6 @@ services:
|
||||
ports:
|
||||
- 2379:2379
|
||||
- 2380:2370
|
||||
confd:
|
||||
build: docker/confd
|
||||
depends_on:
|
||||
- etcd
|
||||
volumes:
|
||||
- ./confd:/etc/confd
|
||||
- ./data:/data
|
||||
prometheus:
|
||||
build: docker/prometheus
|
||||
ports:
|
||||
@@ -31,5 +24,5 @@ services:
|
||||
build: docker/node_exporter
|
||||
opcua-exporter:
|
||||
build: opcua-exporter
|
||||
volumes:
|
||||
- ./data:/data
|
||||
## volumes:
|
||||
## - ./data:/data
|
||||
Reference in New Issue
Block a user