mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-04-30 05:25:48 +02:00
Added healthcheck to gitea postgres
This commit is contained in:
parent
417627385c
commit
f6ed76d01d
1 changed files with 60 additions and 53 deletions
|
|
@ -48,6 +48,13 @@ services:
|
|||
constraints:
|
||||
- 'node.labels.class==gitea'
|
||||
|
||||
healthcheck:
|
||||
test: pg_isready
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 15s
|
||||
|
||||
environment:
|
||||
- 'POSTGRES_USER=gitea'
|
||||
- 'POSTGRES_PASSWORD=gitea'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue