mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-04-30 06:35:48 +02:00
Added healthchecks to matrix postgres containers
This commit is contained in:
parent
049352e53c
commit
84e157a05b
1 changed files with 14 additions and 0 deletions
|
|
@ -60,6 +60,13 @@ services:
|
||||||
constraints:
|
constraints:
|
||||||
- 'node.labels.class==matrix'
|
- 'node.labels.class==matrix'
|
||||||
|
|
||||||
|
healthcheck:
|
||||||
|
test: pg_isready
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
start_period: 15s
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- 'POSTGRES_DB=matrix_fb'
|
- 'POSTGRES_DB=matrix_fb'
|
||||||
- 'POSTGRES_USER=matrix_fb'
|
- 'POSTGRES_USER=matrix_fb'
|
||||||
|
|
@ -109,6 +116,13 @@ services:
|
||||||
constraints:
|
constraints:
|
||||||
- 'node.labels.class==matrix'
|
- 'node.labels.class==matrix'
|
||||||
|
|
||||||
|
healthcheck:
|
||||||
|
test: pg_isready
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
start_period: 15s
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- 'POSTGRES_DB=matrix_signal'
|
- 'POSTGRES_DB=matrix_signal'
|
||||||
- 'POSTGRES_USER=matrix_signal'
|
- 'POSTGRES_USER=matrix_signal'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue