Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (58 sloc) 1.22 KB
---
version: "3"
services:
indexer:
image: postgres
storage:
image: redis
gnocchi-metricd:
image: gnocchi
environment:
POSTGRESQL_USER: postgres
build:
context: gnocchi
args:
package_name: "${GNOCCHI_PACKAGE_NAME:-gnocchi}"
depends_on:
- indexer
- storage
volumes:
- metrics-volume:/var/lib/gnocchi
entrypoint: /run-gnocchi.sh metricd
gnocchi-api:
image: gnocchi
environment:
POSTGRESQL_USER: postgres
build:
context: gnocchi
args:
package_name: "${GNOCCHI_PACKAGE_NAME:-gnocchi}"
ports:
- "8041:8041"
depends_on:
- indexer
- storage
- gnocchi-metricd
volumes:
- metrics-volume:/var/lib/gnocchi
entrypoint: /run-gnocchi.sh api
grafana:
image: gnocchixyz/grafana
build:
context: grafana
environment:
- GNOCCHI_RATE_SUPPORT
- GRAFANA_PLUGIN_URL
- GF_SECURITY_ADMIN_PASSWORD=password
- GF_GNOCCHI_ENDPOINT=http://gnocchi:8041
ports:
- "3000:3000"
depends_on:
- gnocchi-api
volumes:
- grafana-volume:/var/lib/grafana
links:
- "gnocchi-api:gnocchi"
volumes:
metrics-volume:
grafana-volume:
You can’t perform that action at this time.