File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ services:
7777 volumes :
7878 - ./config/pgwatch-postgres/sources.yml:/etc/pgwatch/sources.yml
7979 - ./config/pgwatch-postgres/metrics.yml:/etc/pgwatch/metrics.yml
80+ restart : unless-stopped
8081
8182 # PGWatch Instance 2 - Monitoring service (Prometheus sink)
8283 pgwatch-prometheus :
@@ -92,6 +93,7 @@ services:
9293 volumes :
9394 - ./config/pgwatch-prometheus/sources.yml:/etc/pgwatch/sources.yml
9495 - ./config/pgwatch-prometheus/metrics.yml:/etc/pgwatch/metrics.yml
96+ restart : unless-stopped
9597
9698 # Grafana with datasources - Visualization layer
9799 grafana :
@@ -111,6 +113,7 @@ services:
111113 depends_on :
112114 - sink-postgres
113115 - sink-prometheus
116+ restart : unless-stopped
114117 flask-backend :
115118 build :
116119 context : ./flask-backend
@@ -123,7 +126,7 @@ services:
123126 - sink-prometheus
124127 ports :
125128 - " 55000:5000"
126-
129+ restart : unless-stopped
127130 # PostgreSQL Reports Generator - Runs reports after 1 hour
128131 postgres-reports :
129132 image : python:3.11-slim
You can’t perform that action at this time.
0 commit comments