初始化prometheus全套配置
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
consul:
|
||||
image: hashicorp/consul
|
||||
container_name: consul
|
||||
ports:
|
||||
- "8500:8500"
|
||||
- "8600:8600/udp"
|
||||
volumes:
|
||||
- consul-data:/consul/data
|
||||
- ./consul-config:/consul/config
|
||||
command: agent -server -bootstrap -ui -client=0.0.0.0
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
consul-data:
|
||||
Reference in New Issue
Block a user