mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-23 15:18:17 +02:00
Connect application to external network for improved deployment flexibility
Removes the internal regisflow_network and configures the docker-compose.yml to use the external nginx_default network. Replit-Commit-Author: Agent Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
This commit is contained in:
1 parent
a6d741fc53
commit
55fb5abd45
1 file changed
+4
-8
+4
-8
@@ -7,8 +7,6 @@ services:
|
|||||||
regisflow-db:
|
regisflow-db:
|
||||||
image: postgres:15-alpine
|
image: postgres:15-alpine
|
||||||
container_name: regisflow-db
|
container_name: regisflow-db
|
||||||
networks:
|
|
||||||
- regisflow_network
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: regisflow
|
POSTGRES_DB: regisflow
|
||||||
POSTGRES_USER: regisflow
|
POSTGRES_USER: regisflow
|
||||||
@@ -34,8 +32,6 @@ services:
|
|||||||
args:
|
args:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
container_name: regisflow-app
|
container_name: regisflow-app
|
||||||
networks:
|
|
||||||
- regisflow_network
|
|
||||||
depends_on:
|
depends_on:
|
||||||
regisflow-db:
|
regisflow-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -72,8 +68,8 @@ volumes:
|
|||||||
logs_data:
|
logs_data:
|
||||||
driver: local
|
driver: local
|
||||||
|
|
||||||
# Configuration réseau flexible pour déploiement
|
# Utilisation du réseau nginx_default existant
|
||||||
networks:
|
networks:
|
||||||
regisflow_network:
|
default:
|
||||||
driver: bridge
|
external: true
|
||||||
name: regisflow_network
|
name: nginx_default
|
||||||
Reference in new issue
Block a user