diff --git a/docker-compose-examples.yml b/docker-compose-examples.yml index 5c082a1..b90ffde 100644 --- a/docker-compose-examples.yml +++ b/docker-compose-examples.yml @@ -26,17 +26,17 @@ # RÉSEAUX COMPATIBLES PORTAINER # ========================================== -# Réseau RegisFlow dédié (configuration actuelle) +# Réseau nginx_default (configuration actuelle) networks: - regisflow_network: - driver: bridge - name: regisflow_network - -# Réseau existant (créé dans Portainer) -networks: - regisflow_network: + default: external: true - name: nom-reseau-existant + name: nginx_default + +# Autres réseaux existants +networks: + default: + external: true + name: autre-reseau-existant # Réseau macvlan (IP directe) networks: diff --git a/docker-compose.yml b/docker-compose.yml index 9f8f6c1..33f3430 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,8 +7,6 @@ services: regisflow-db: image: postgres:15-alpine container_name: regisflow-db - networks: - - regisflow_network environment: POSTGRES_DB: regisflow POSTGRES_USER: regisflow @@ -31,8 +29,6 @@ services: context: . target: production container_name: regisflow-app - networks: - - regisflow_network depends_on: regisflow-db: condition: service_healthy @@ -65,8 +61,8 @@ volumes: backup_data: logs_data: -# Réseau dédié RegisFlow pour isolation et facilité de gestion +# Utilisation du réseau nginx_default existant networks: - regisflow_network: - driver: ${NETWORK_DRIVER:-bridge} - name: regisflow_network \ No newline at end of file + default: + external: true + name: nginx_default \ No newline at end of file diff --git a/replit.md b/replit.md index 1b1d995..7ed8794 100644 --- a/replit.md +++ b/replit.md @@ -219,6 +219,7 @@ Preferred communication style: Simple, everyday language. - ✅ Eliminated multiple configuration files to reduce complexity - ✅ Removed unnecessary documentation files and assets - ✅ Streamlined project structure with only essential files +- ✅ Configured to use nginx_default network for reverse proxy integration ### Node.js 18 Compatibility Fix (January 9, 2025) - ✅ Resolved TypeError with undefined paths in Node.js 18 production environment