Skip to content

Commit

Permalink
start interval/period
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Jun 28, 2024
1 parent 4e94592 commit 7f25638
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/compose.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ services:
{{ container_s(name='r0-db', image='postgres', restart='always', command=False) }}
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
start_interval: 1s
start_period: 10s
interval: 10s
timeout: 5s
retries: 5
Expand Down Expand Up @@ -466,6 +468,8 @@ services:
{{ container_s(name='r1-db', image='postgres', restart='always', command=False) }}
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
start_interval: 1s
start_period: 10s
interval: 10s
timeout: 5s
retries: 5
Expand Down Expand Up @@ -514,6 +518,8 @@ services:
{{ container_s(name='rr-db', image='postgres', restart='always', command=False) }}
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
start_interval: 1s
start_period: 10s
interval: 10s
timeout: 5s
retries: 5
Expand Down Expand Up @@ -570,6 +576,8 @@ services:
{{ container_s(name='srgw0-db', image='postgres', restart='always', command=False) }}
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
start_interval: 1s
start_period: 10s
interval: 10s
timeout: 5s
retries: 5
Expand Down

0 comments on commit 7f25638

Please sign in to comment.