gitea : rename to container-compose.yml + PostgreSQL healthcheck
This commit is contained in:
parent
dc14578d6f
commit
7a989baf6d
|
@ -20,6 +20,11 @@ services:
|
||||||
container_name: gitea-db
|
container_name: gitea-db
|
||||||
volumes:
|
volumes:
|
||||||
- gitea-pgsql:/var/lib/postgresql/data:Z
|
- gitea-pgsql:/var/lib/postgresql/data:Z
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
gitea-data:
|
gitea-data:
|
Loading…
Reference in a new issue