mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-16 14:58:49 +00:00
1f8973a476
It makes metrics development easier, with the prometheus image already seeded with configuration that scrapes events from localhost:8081. Runs properly with `cargo run -- --admin-listen-addr 0.0.0.0:8081`
4 lines
164 B
Bash
Executable File
4 lines
164 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
docker run --net=host --rm --name libsql-server-prometheus -v $(dirname $0)/prometheus_docker.yml:/etc/prometheus/prometheus.yml prom/prometheus
|