generic cert paths
This commit is contained in:
@@ -17,9 +17,14 @@ services:
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /:/rootfs:ro
|
||||
- /var/run:/var/run:rw
|
||||
- /sys:/sys:ro
|
||||
- /var/lib/docker:/var/lib/docker:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /dev/disk/:/dev/disk:ro
|
||||
- ./grafana-alloy/config.alloy:/etc/alloy/config.alloy
|
||||
- ./certs:/etc/alloy/certs
|
||||
- /var/lib/ssl:/etc/alloy/certs:ro
|
||||
ports:
|
||||
- '12345:12345'
|
||||
command:
|
||||
|
||||
@@ -18,8 +18,8 @@ prometheus.remote_write "default" {
|
||||
endpoint {
|
||||
url = "https://prometheus.john-stream.com:9090/api/v1/write"
|
||||
tls_config {
|
||||
cert_file = "/etc/alloy/certs/prometheus.crt"
|
||||
key_file = "/etc/alloy/certs/prometheus.key"
|
||||
cert_file = "/etc/alloy/certs/cert.pem"
|
||||
key_file = "/etc/alloy/certs/key.pem"
|
||||
ca_file = "/etc/alloy/certs/root_ca.crt"
|
||||
}
|
||||
}
|
||||
@@ -31,7 +31,6 @@ discovery.docker "linux" {
|
||||
|
||||
// discovery.relabel "logs_integrations_docker" {
|
||||
// targets = []
|
||||
|
||||
// rule {
|
||||
// source_labels = ["__meta_docker_container_name"]
|
||||
// regex = "/(.*)"
|
||||
|
||||
Reference in New Issue
Block a user