mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-25 15:19:58 +00:00
The metrics are served by an http endpoint, which is meant to be spawned in a new thread. In the future the endpoint will provide more APIs, but for the time being, we won't bother with proper routing.
26 lines
655 B
YAML
26 lines
655 B
YAML
version: "3"
|
|
services:
|
|
|
|
prometheus:
|
|
container_name: prometheus
|
|
image: prom/prometheus:latest
|
|
volumes:
|
|
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
|
|
# ports:
|
|
# - "9090:9090"
|
|
# TODO: find a proper portable solution
|
|
network_mode: "host"
|
|
|
|
grafana:
|
|
image: grafana/grafana:latest
|
|
volumes:
|
|
- ./grafana.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
|
|
environment:
|
|
- GF_AUTH_ANONYMOUS_ENABLED=true
|
|
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
|
- GF_AUTH_DISABLE_LOGIN_FORM=true
|
|
# ports:
|
|
# - "3000:3000"
|
|
# TODO: find a proper portable solution
|
|
network_mode: "host"
|