|
|
|
|
@ -15,14 +15,14 @@ services:
|
|
|
|
|
# context: ../prometheus-data-generator/ |
|
|
|
|
# network_mode: host |
|
|
|
|
# volumes: |
|
|
|
|
# - /home/f2256342/forge/prometheus-data-generator/config.yml:/config.yml |
|
|
|
|
# - ../prometheus-data-generator/config.yml:/config.yml |
|
|
|
|
|
|
|
|
|
prometheus: |
|
|
|
|
container_name: prometheus |
|
|
|
|
image: prom/prometheus:latest |
|
|
|
|
network_mode: host |
|
|
|
|
volumes: |
|
|
|
|
- /home/f2256342/forge/monitor/prometheus.yml:/etc/prometheus/prometheus.yml |
|
|
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml |
|
|
|
|
- ./alert.rules.yml:/etc/prometheus/alert.rules.yml |
|
|
|
|
|
|
|
|
|
alertmanager: |
|
|
|
|
|