gitea : rename to container-compose.yml + PostgreSQL healthcheck

This commit is contained in:
Gitouche 2023-08-10 21:44:10 +02:00
parent dc14578d6f
commit 7a989baf6d
1 changed files with 5 additions and 0 deletions

View File

@ -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: