-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.dev
More file actions
24 lines (18 loc) · 959 Bytes
/
.env.dev
File metadata and controls
24 lines (18 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
API_BASE_URL=https://dev.core-system.sdc.nycu.club/api
# ===== Core System Frontend Gateway (Fastify) =====
# Port Fastify listens on inside the container/host
PORT=80
# Upstream Go backend origin for /api proxy and for fetching SEO metadata
# - If using docker network: http://core-system-backend:8080
# - If calling host from container (dev): http://172.18.0.1:8080
BACKEND_ORIGIN=http://172.18.0.1:8080
# Optional: override Host header when calling BACKEND_ORIGIN
# Useful when BACKEND_ORIGIN points to an IP/ingress that routes by Host.
# Leave empty to disable.
BACKEND_HOST_HEADER=dev.core-system.sdc.nycu.club
# Optional: public site origin used for canonical/og:url if you don't want to rely on request Host.
# Leave empty to infer from incoming request.
PUBLIC_ORIGIN=https://dev.core-system.sdc.nycu.club
# Optional: cache control for HTML responses
# Examples: no-store | private, max-age=60 | public, max-age=300
HTML_CACHE_CONTROL=no-store