2025-09-01 15:11:42 +09:00
|
|
|
# 🚀 Customer Portal - Plesk Production Environment (Frontend-only sample)
|
|
|
|
|
# IMPORTANT: Do NOT store secrets under httpdocs.
|
|
|
|
|
# Use split env files in Plesk private path:
|
|
|
|
|
# - Frontend (public vars): /var/www/vhosts/asolutions.jp/private/env/portal-frontend.env
|
|
|
|
|
# - Backend (secrets) : /var/www/vhosts/asolutions.jp/private/env/portal-backend.env
|
|
|
|
|
# See PLESK_DEPLOYMENT.md → Plesk Deployment Notes
|
2025-08-29 16:25:59 +09:00
|
|
|
|
2025-09-01 15:11:42 +09:00
|
|
|
# ====== Core ======
|
|
|
|
|
NODE_ENV=production
|
2025-08-29 16:25:59 +09:00
|
|
|
|
2025-09-01 15:11:42 +09:00
|
|
|
# ====== Frontend (Next.js) ======
|
|
|
|
|
NEXT_PUBLIC_APP_NAME=Assist Solutions Portal
|
|
|
|
|
NEXT_PUBLIC_APP_VERSION=1.0.0
|
|
|
|
|
NEXT_PUBLIC_API_BASE=/api
|
|
|
|
|
|
|
|
|
|
# For backend/server settings and secrets, move the values to:
|
|
|
|
|
# /var/www/vhosts/asolutions.jp/private/env/portal-backend.env
|
|
|
|
|
# The backend env should contain DB/Redis URLs, JWT, WHMCS, Salesforce, SendGrid, etc.
|