base on tipromethueus master batch code.
936
version: '2'
services:
tiprometheus:
image: shikaiwei/tiprometheus:20200428.RELEASE
restart: always
ports:
- 12350:12350
volumes:
#The default path of config file is "/opt/conf.toml"
- /usr/local/tipromethuse-docker/conf/conf.toml:/opt/conf.toml
[dev]
AdapterListen = "127.0.0.1:12350"
PDHost = "10.0.0.221:2000"
TimeInterval = 5
AdapterEnableTLS = false
TiKVEnableTLS = false
[default]
AdapterListen = ":12350"
PDHost = "10.0.0.221:2000"
TimeInterval = 5
AdapterEnableTLS = false
AdapterCACertificate = "/path/to/certs/ca.pem"
AdapterServerCertificate = "/path/to/certs/adapter.pem"
AdapterServerKey = "/path/to/certs/adapter.key"
TiKVEnableTLS = false
TiKVCACertificate = "/path/to/certs/ca.pem"
TiKVClientCertificate = "/path/to/certs/client.pem"
TiKVClientKey = "/path/to/certs/client.key"
tips: The configuration below is the part of remote write and remote read of the Prometheus configuration
remote_write:
- url: 'http://tiprometheus:12350/write'
remote_read:
- url: 'http://tiprometheus:12350/read'
read_recent: false
Content type
Image
Digest
Size
12.3 MB
Last updated
over 6 years ago
docker pull shikaiwei/tiprometheus:20200428.RELEASE