mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
Update deployment to use Nginx reverse proxy network
Configure docker-compose.yml and DOCKER.md to enable Nginx reverse proxy access by making the application and PostgreSQL available on the `nginx_default` external network. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/MNNRXY7
This commit is contained in:
1 parent
990542ff0f
commit
5bd45764b4
3 files changed
+14
-29
No files matched your search
+5
-6
@@ -14,6 +14,7 @@ services:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- internal
|
||||
- nginx_default
|
||||
# Port non exposé sur l'hôte pour plus de sécurité en production
|
||||
# Décommentez la ligne suivante si vous avez besoin d'accéder à la DB localement
|
||||
# ports:
|
||||
@@ -42,8 +43,7 @@ services:
|
||||
APP_URL: ${APP_URL:-http://localhost:4523}
|
||||
networks:
|
||||
- internal
|
||||
# Décommentez la ligne suivante si vous utilisez Nginx reverse proxy :
|
||||
# - nginx_default
|
||||
- nginx_default
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -58,7 +58,6 @@ networks:
|
||||
internal:
|
||||
driver: bridge
|
||||
|
||||
# Réseau externe pour nginx reverse proxy (optionnel)
|
||||
# Décommentez si vous utilisez Nginx :
|
||||
# nginx_default:
|
||||
# external: true
|
||||
# Réseau externe pour nginx reverse proxy
|
||||
nginx_default:
|
||||
external: true
|
||||
Reference in new issue
Block a user