Merge origin/master: keep upload volume and secure DATABASE_URL

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
smhk1376andCursor committed 2026-10-11 21:07:35 +03:30
commit a99af426db
6 files changed
+174 -5

No files matched your search

+2 -2
View File
@@ -12,7 +12,7 @@ services:
- PORT=3000
- HOSTNAME=0.0.0.0
- NEXT_PUBLIC_SITE_URL=${NEXT_PUBLIC_SITE_URL:-https://edu.mstaut.ir}
- DATABASE_URL=${DATABASE_URL:-postgresql://managment_web:password@insaight-postgres:5432/ManagmentWebSite_Db}
- DATABASE_URL=${DATABASE_URL:?Set DATABASE_URL in a protected environment file}
- UPLOAD_DIR=/app/public/uploads
# Nginx Proxy Manager: edu.mstaut.ir → http://aut-management-faculty:3000
# DB: same Docker network as container `insaight-postgres` (not the public IP).
@@ -23,7 +23,7 @@ services:
networks:
- shared_web_network
ports:
- "3000:3000"
- "127.0.0.1:3000:3000"
volumes:
uploads_data: