Browse Source

update

master
yutsuo 4 years ago
parent
commit
a137b58015
  1. 26
      docker-compose.yml

26
docker-compose.yml

@ -6,17 +6,6 @@ services:
ports:
- "9100:9100"
prometheus:
container_name: prometheus
image: prom/prometheus:latest
network_mode: bridge
ports:
- "9090:9090"
env_file:
- ./.env
volumes:
- /home/yutsuo/forge/monitor/prometheus.yml:/etc/prometheus/prometheus.yml
grafana:
container_name: grafana
image: grafana/grafana:latest
@ -31,3 +20,18 @@ services:
network_mode: bridge
volumes:
- ../prometheus-data-generator/config.yml:/config.yml
prometheus:
container_name: prometheus
image: prom/prometheus:latest
depends_on:
- node-exporter
- data-generator
network_mode: bridge
ports:
- "9090:9090"
env_file:
- ./.env
volumes:
- /home/yutsuo/forge/monitor/prometheus.yml:/etc/prometheus/prometheus.yml
Loading…
Cancel
Save