Spaces:
Running
Running
services: | |
pushgateway: | |
image: prom/pushgateway | |
ports: ["9091:9091"] | |
prometheus: | |
image: prom/prometheus | |
command: | |
- "--config.file=/etc/prometheus/prometheus.yml" | |
volumes: | |
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro | |
ports: ["9090:9090"] | |
depends_on: [pushgateway] | |
grafana: | |
image: grafana/grafana | |
environment: | |
- GF_SECURITY_ADMIN_PASSWORD=admin | |
- GF_USERS_ALLOW_SIGN_UP=false | |
ports: ["3000:3000"] | |
depends_on: [prometheus] | |