update env vars and deployments for containers
This commit is contained in:
17
.env.production
Normal file
17
.env.production
Normal file
@@ -0,0 +1,17 @@
|
||||
# Production Environment Configuration
|
||||
# Copy this to .env for server deployment
|
||||
|
||||
# MongoDB Configuration (uses Docker Compose service names)
|
||||
MONGODB_HOST=mongodb
|
||||
MONGODB_PORT=27017
|
||||
MONGODB_DATABASE=scoffer
|
||||
|
||||
# JWT Secret for Backend (CHANGE THIS IN PRODUCTION!)
|
||||
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
||||
|
||||
# Frontend API URL for server deployment
|
||||
# Replace 'your-domain.com' with your actual domain
|
||||
REACT_APP_API_URL=https://your-domain.com/api
|
||||
|
||||
# Alternative: If backend runs on different port/subdomain
|
||||
# REACT_APP_API_URL=https://api.your-domain.com
|
||||
Reference in New Issue
Block a user