mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-23 15:18:17 +02:00
Simplify deployment and improve database access instructions for users
Adds an automatic deployment script, updates the database port mapping in docker-compose, and provides clearer instructions for database access. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/6e755801-08e8-4492-805e-ac3610de5a2a.jpg
This commit is contained in:
1 parent
896dc6cca0
commit
3028259f6e
5 files changed
+79
-2
No files matched your search
+13
-1
@@ -47,6 +47,14 @@ TZ=Europe/Paris
|
||||
|
||||
### 3. Lancer l'application
|
||||
|
||||
**Option 1 : Script automatique (recommandé)**
|
||||
```bash
|
||||
# Utiliser le script de déploiement automatique
|
||||
chmod +x deploy.sh
|
||||
./deploy.sh
|
||||
```
|
||||
|
||||
**Option 2 : Commandes manuelles**
|
||||
```bash
|
||||
# Construire et démarrer tous les services
|
||||
docker-compose up -d
|
||||
@@ -61,7 +69,8 @@ docker-compose logs -f
|
||||
## 📋 Services Inclus
|
||||
|
||||
### 1. PostgreSQL (Base de données)
|
||||
- **Port**: 5432
|
||||
- **Port externe**: 5433 (pour éviter les conflits)
|
||||
- **Port interne**: 5432 (communication entre containers)
|
||||
- **Database**: regisflow
|
||||
- **Utilisateur**: regisflow
|
||||
- **Données persistantes**: Volume `postgres_data`
|
||||
@@ -106,6 +115,9 @@ docker-compose exec -T postgres psql -U regisflow regisflow < backup.sql
|
||||
|
||||
# Accéder à la base de données
|
||||
docker-compose exec postgres psql -U regisflow regisflow
|
||||
|
||||
# Ou depuis l'hôte (port 5433)
|
||||
psql -h localhost -p 5433 -U regisflow regisflow
|
||||
```
|
||||
|
||||
### Maintenance
|
||||
|
||||
Reference in new issue
Block a user