feat : initial PostgreSQL infrastructure setup
- docker-compose with postgres:16-alpine - Init script to create databases (SIRH + Ferme, prod + recette) - Deploy script with readiness check - Backup script with rotation (keeps last 7) - Auto-tag CI workflow - Full deployment documentation
This commit is contained in:
18
README.md
Normal file
18
README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# infra-postgres
|
||||
|
||||
PostgreSQL centralise pour les applications MALIO (SIRH, Ferme, etc.).
|
||||
|
||||
Un seul conteneur PostgreSQL gere toutes les bases de donnees (prod + recette).
|
||||
|
||||
## Quick start
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
# Editer .env et init/01-create-databases.sql avec les vrais mots de passe
|
||||
chmod +x deploy.sh backup.sh
|
||||
./deploy.sh
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
Voir `doc/deployment.md` pour le guide complet.
|
||||
Reference in New Issue
Block a user