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

View file

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