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
|
||||
volumes:
|
||||
- gitea-pgsql:/var/lib/postgresql/data:Z
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
gitea-data:
|
Loading…
Reference in a new issue