mirror of
https://github.com/xavierchuan/FX-ML-Trading-Engine.git
synced 2026-07-27 18:17:44 +00:00
33 lines
709 B
YAML
33 lines
709 B
YAML
version: "3.8"
|
|
services:
|
|
pushgateway:
|
|
image: prom/pushgateway:latest
|
|
container_name: pushgateway
|
|
ports:
|
|
- "9091:9091"
|
|
restart: unless-stopped
|
|
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
container_name: prometheus
|
|
ports:
|
|
- "9090:9090"
|
|
volumes:
|
|
- ./monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
|
depends_on:
|
|
- pushgateway
|
|
restart: unless-stopped
|
|
|
|
grafana:
|
|
image: grafana/grafana:latest
|
|
container_name: grafana
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ./monitoring/grafana:/var/lib/grafana
|
|
environment:
|
|
- GF_SECURITY_ADMIN_PASSWORD=admin
|
|
depends_on:
|
|
- prometheus
|
|
restart: unless-stopped
|