Docker mit traefik und portainer
This commit is contained in:
24
.env.local-network
Normal file
24
.env.local-network
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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=*
|
||||
Reference in New Issue
Block a user