allow for custom ports

This commit is contained in:
2025-08-10 13:30:51 +01:00
parent 4105262f22
commit b790b3bd76
4 changed files with 234 additions and 11 deletions

View File

@@ -9,6 +9,12 @@ MONGODB_DATABASE=scoffer
# JWT Secret for Backend (CHANGE THIS IN PRODUCTION!)
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# Port Configuration (customize as needed for your server)
FRONTEND_PORT=3000
BACKEND_PORT=5000
MONGODB_PORT=27017
MONGO_EXPRESS_PORT=8081
# Frontend API URL for server deployment
# IMPORTANT: This should point to your EXTERNAL domain with HTTPS
# The reverse proxy handles SSL termination and forwards HTTP to containers