Files
Rezepte/.env.local-network
2025-09-22 16:35:59 +02:00

24 lines
707 B
Plaintext

# Local Network Environment Configuration
# Set your actual host IP address here
# Host IP Address (replace with your actual IP)
HOST_IP=192.168.1.100
# Alternative: Find your IP automatically (uncomment one)
# HOST_IP=$(ip route get 1 | awk '{print $7; exit}') # Linux
# HOST_IP=$(ipconfig getifaddr en0) # macOS WiFi
# HOST_IP=$(ipconfig getifaddr en1) # macOS Ethernet
# Database Configuration (same as before)
MYSQL_ROOT_PASSWORD=rootpassword
MYSQL_DATABASE=rezepte_klaus
MYSQL_USER=rezepte_user
MYSQL_PASSWORD=rezepte_pass
# Backend Configuration
NODE_ENV=production
PORT=3001
JWT_SECRET=your-super-secret-jwt-key-change-in-production
UPLOAD_PATH=/app/uploads
MAX_FILE_SIZE=5242880
CORS_ORIGIN=*