Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .env.save
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# ===========================================
# SEEDBOX LITE ENVIRONMENT CONFIGURATION
# ===========================================
# Server Configuration
NODE_ENV=production
SERVER_PORT=3001
ACCESS_PASSWORD=your_secure_password

# Frontend Configuration
FRONTEND_URL=http://localhost:5174
VITE_API_BASE_URL=http://localhost:3001

# Docker Ports
BACKEND_PORT=3001
FRONTEND_PORT=5174# ===== SERVER CONFIGURATION =====
# Backend server configuration
SERVER_PORT=3000
SERVER_HOST=localhost
SERVER_PROTOCOL=http

# Backend API base URL (used by frontend)
# For development: http://localhost:3000
# For production: https://your-domain.com
VITE_API_BASE_URL=http://localhost:3000

# ===== CORS CONFIGURATION =====
# Frontend URL for CORS (used by backend)
# For development: http://localhost:5173
# For production: https://your-frontend-domain.com
FRONTEND_URL=http://localhost:5173

# ===== EXTERNAL SERVICES =====
# OpenSubtitles API configuration
OPENSUBTITLES_API_URL=https://rest.opensubtitles.org
SUBTITLE_SEEKER_API_URL=https://api.subtitleseeker.com

# ===== DEVELOPMENT/PRODUCTION =====
# Environment mode
NODE_ENV=development

# ===== EXAMPLE CONFIGURATIONS =====
#
# === LOCAL DEVELOPMENT ===
# SERVER_PORT=3000
# SERVER_HOST=localhost
# SERVER_PROTOCOL=http
# VITE_API_BASE_URL=http://localhost:3000
# FRONTEND_URL=http://localhost:5173
#
# === DOCKER DEVELOPMENT ===
# SERVER_PORT=3000
# SERVER_HOST=0.0.0.0
# SERVER_PROTOCOL=http
# VITE_API_BASE_URL=http://localhost:3000
# FRONTEND_URL=http://localhost:5173
#
# === PRODUCTION DEPLOYMENT ===
# SERVER_PORT=3000
# SERVER_HOST=0.0.0.0
# SERVER_PROTOCOL=https
# VITE_API_BASE_URL=https://api.yourdomain.com
# FRONTEND_URL=https://yourdomain.com
#
# === CUSTOM NETWORK ===
# SERVER_PORT=8080
# SERVER_HOST=192.168.1.100
# SERVER_PROTOCOL=http
# VITE_API_BASE_URL=http://192.168.1.100:8080
# FRONTEND_URL=http://192.168.1.200:3000