Skip to content

Commit 5f65050

Browse files
committed
Merge branch 'fix/164-sink-restart-policy' into 'main'
fix: add restart policy to sink-postgres and sink-prometheus Closes #164 See merge request postgres-ai/postgresai!239
2 parents 80da1e8 + 648f12a commit 5f65050

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ services:
8383
depends_on:
8484
config-init:
8585
condition: service_completed_successfully
86+
restart: unless-stopped
8687

8788
# VictoriaMetrics Sink - Storage for metrics in Prometheus format
8889
sink-prometheus:
@@ -109,6 +110,7 @@ services:
109110
depends_on:
110111
config-init:
111112
condition: service_completed_successfully
113+
restart: unless-stopped
112114

113115
# PGWatch Instance 1 - Monitoring service (Postgres sink)
114116
pgwatch-postgres:

0 commit comments

Comments
 (0)