fix(monitoring): Prometheus читает новый конфиг, а не старый inode
ansible-core-mon / deploy (push) Successful in 13s
ansible-core-mon / deploy (push) Successful in 13s
Файл в bind-mount не обновлялся после записи Ansible, поэтому ger-nod-02 не попадал в цели. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
408dfd09c3
commit
a54a25ebb7
3 files changed
+11
-33
No files matched your search
@@ -11,8 +11,7 @@ services:
|
||||
- "--storage.tsdb.retention.time={{ prometheus_retention }}"
|
||||
- "--web.enable-lifecycle"
|
||||
volumes:
|
||||
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||
- ./prometheus/alerts.yml:/etc/prometheus/alerts.yml:ro
|
||||
- ./prometheus:/etc/prometheus:ro
|
||||
- ./prometheus_data:/prometheus
|
||||
ports:
|
||||
- "9090:9090"
|
||||
@@ -27,7 +26,7 @@ services:
|
||||
- "--config.file=/etc/alertmanager/alertmanager.yml"
|
||||
- "--storage.path=/alertmanager"
|
||||
volumes:
|
||||
- ./alertmanager/alertmanager.yml:/etc/alertmanager/alertmanager.yml:ro
|
||||
- ./alertmanager:/etc/alertmanager:ro
|
||||
- ./alertmanager_data:/alertmanager
|
||||
ports:
|
||||
- "9093:9093"
|
||||
@@ -58,7 +57,7 @@ services:
|
||||
command:
|
||||
- "--configs=/etc/alertmanager-ntfy/config.yml"
|
||||
volumes:
|
||||
- ./alertmanager-ntfy/config.yml:/etc/alertmanager-ntfy/config.yml:ro
|
||||
- ./alertmanager-ntfy:/etc/alertmanager-ntfy:ro
|
||||
depends_on:
|
||||
- ntfy
|
||||
|
||||
|
||||
Reference in new issue
Block a user