gitea : fix healthcheck postgresql
This commit is contained in:
parent
56b3d4a03c
commit
80dc6bc895
|
@ -27,7 +27,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- gitea-pgsql:/var/lib/postgresql/data:Z
|
- gitea-pgsql:/var/lib/postgresql/data:Z
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
test: ["CMD-SHELL", "pg_isready -U gitea"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
Loading…
Reference in a new issue