mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-11 17:29:48 +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:
|
||||
image: postgres:15-alpine
|
||||
container_name: regisflow-db
|
||||
networks:
|
||||
- regisflow_network
|
||||
environment:
|
||||
POSTGRES_DB: regisflow
|
||||
POSTGRES_USER: regisflow
|
||||
@@ -34,8 +32,6 @@ services:
|
||||
args:
|
||||
- NODE_ENV=production
|
||||
container_name: regisflow-app
|
||||
networks:
|
||||
- regisflow_network
|
||||
depends_on:
|
||||
regisflow-db:
|
||||
condition: service_healthy
|
||||
@@ -72,8 +68,8 @@ volumes:
|
||||
logs_data:
|
||||
driver: local
|
||||
|
||||
# Configuration réseau flexible pour déploiement
|
||||
# Utilisation du réseau nginx_default existant
|
||||
networks:
|
||||
regisflow_network:
|
||||
driver: bridge
|
||||
name: regisflow_network
|
||||
default:
|
||||
external: true
|
||||
name: nginx_default
|
||||
Reference in new issue
Block a user