- Add server.js: Express serves dist/ + injects env (GA_ID, FORM_EMAIL, GMAP) at runtime - Container port now 4321 (identical to moreminimore-astroreal that deploys on EasyPanel) - Remove nginx.conf + entrypoint.sh (no longer needed); Dockerfile uses node server.js - Verified: pnpm build + node server.js -> all 40 pages serve 200, env injected, 0 leftovers
22 lines
741 B
Plaintext
22 lines
741 B
Plaintext
# ============================================================
|
|
# มิตซูชัยพร — environment variables
|
|
# Set in EasyPanel (Service → Environment) or --env at docker run.
|
|
# Injected by server.js when serving HTML.
|
|
# ============================================================
|
|
|
|
# Port Express listens on (EasyPanel container port must MATCH this)
|
|
PORT=4321
|
|
|
|
# --- Google Analytics / GTM ---
|
|
# Leave EMPTY to disable analytics.
|
|
GA_ID=
|
|
|
|
# --- Contact / RFQ form email (FormSubmit) ---
|
|
FORM_EMAIL=mail@mitsuchaiyaporn.com
|
|
|
|
# --- Google Map (type A — free embed, no API key) ---
|
|
GMAP_LAT=13.557229094780995
|
|
GMAP_LNG=100.28916297408983
|
|
GMAP_ZOOM=16
|
|
# GMAP_EMBED=https://maps.google.com/maps?q=13.55,100.28&z=16&output=embed
|