fix restart monitoring containers
"restart: unless-stopped"
This commit is contained in:
@@ -17,6 +17,7 @@ services:
|
|||||||
- '--nginx.scrape-uri=http://nginx:9888/nginx_status'
|
- '--nginx.scrape-uri=http://nginx:9888/nginx_status'
|
||||||
networks:
|
networks:
|
||||||
- monitoring_net
|
- monitoring_net
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
postgres-exporter:
|
postgres-exporter:
|
||||||
image: prometheuscommunity/postgres-exporter:v0.17.1
|
image: prometheuscommunity/postgres-exporter:v0.17.1
|
||||||
@@ -26,6 +27,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
monitoring_net:
|
monitoring_net:
|
||||||
ipv4_address: "${POSTGRES_EXPORTER_IP}"
|
ipv4_address: "${POSTGRES_EXPORTER_IP}"
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:12.0.2
|
image: grafana/grafana:12.0.2
|
||||||
|
|||||||
Reference in New Issue
Block a user