feat: ajout des labels Consul pour améliorer la découverte de services

- Mise à jour registrator vers l'image master
- Ajout labels SERVICE_NAME et health checks pour tous les services
- Gitea: labels avec health checks HTTP et TCP
- Woodpecker: labels pour server et agent avec health checks
- PostgreSQL: labels avec health check TCP
- Ajout .env.example et .gitignore pour postgres
This commit is contained in:
2025-12-24 17:36:34 +01:00
parent 4320251b3c
commit 4aa46fbbbb
6 changed files with 48 additions and 2 deletions

View File

@ -6,6 +6,13 @@ services:
image: postgres:14
restart: always
labels:
- "SERVICE_NAME=gitea-db"
- "SERVICE_TAGS=postgres,database"
- "SERVICE_5432_NAME=gitea-db"
- "SERVICE_5432_CHECK_TCP=true"
- "SERVICE_5432_CHECK_INTERVAL=10s"
environment:
POSTGRES_USER: gitea
POSTGRES_PASSWORD: Gitea_Db-2025_Secure