Changeset View
Changeset View
Standalone View
Standalone View
docker-compose.yml
Show All 32 Lines | ports: | ||||
- "5093:9000" | - "5093:9000" | ||||
environment: | environment: | ||||
ZK_HOSTS: zookeeper:2181 | ZK_HOSTS: zookeeper:2181 | ||||
APPLICATION_SECRET: random-secret | APPLICATION_SECRET: random-secret | ||||
command: -Dpidfile.path=/dev/null | command: -Dpidfile.path=/dev/null | ||||
prometheus: | prometheus: | ||||
image: prom/prometheus | image: prom/prometheus | ||||
depends_on: | |||||
- prometheus-statsd-exporter | |||||
command: | command: | ||||
# Needed for the reverse-proxy | # Needed for the reverse-proxy | ||||
- "--web.external-url=/prometheus" | - "--web.external-url=/prometheus" | ||||
- "--config.file=/etc/prometheus/prometheus.yml" | - "--config.file=/etc/prometheus/prometheus.yml" | ||||
volumes: | volumes: | ||||
- "./conf/prometheus.yml:/etc/prometheus/prometheus.yml:ro" | - "./conf/prometheus.yml:/etc/prometheus/prometheus.yml:ro" | ||||
restart: unless-stopped | restart: unless-stopped | ||||
prometheus-statsd-exporter: | prometheus-statsd-exporter: | ||||
image: prom/statsd-exporter | image: prom/statsd-exporter | ||||
command: | command: | ||||
- "--statsd.mapping-config=/etc/prometheus/statsd-mapping.yml" | - "--statsd.mapping-config=/etc/prometheus/statsd-mapping.yml" | ||||
volumes: | volumes: | ||||
- "./conf/prometheus-statsd-mapping.yml:/etc/prometheus/statsd-mapping.yml:ro" | - "./conf/prometheus-statsd-mapping.yml:/etc/prometheus/statsd-mapping.yml:ro" | ||||
restart: unless-stopped | restart: unless-stopped | ||||
grafana: | grafana: | ||||
image: grafana/grafana | image: grafana/grafana | ||||
restart: unless-stopped | restart: unless-stopped | ||||
depends_on: | |||||
- prometheus | |||||
environment: | environment: | ||||
GF_SERVER_ROOT_URL: http://localhost:5080/grafana | GF_SERVER_ROOT_URL: http://localhost:5080/grafana | ||||
volumes: | volumes: | ||||
- "./conf/grafana/provisioning:/etc/grafana/provisioning:ro" | - "./conf/grafana/provisioning:/etc/grafana/provisioning:ro" | ||||
- "./conf/grafana/dashboards:/var/lib/grafana/dashboards" | - "./conf/grafana/dashboards:/var/lib/grafana/dashboards" | ||||
nginx: | nginx: | ||||
image: nginx | image: nginx | ||||
▲ Show 20 Lines • Show All 315 Lines • Show Last 20 Lines |