admin/.env.example
alisaza 8d2e19ac7d fix(deploy): reject loopback API_PROXY_TARGET in production builds
Prevents baking self-proxy /api and /chat rewrites that pin a CPU core inside Docker.
2026-09-08 14:06:20 +03:30

8 lines
352 B
Plaintext

NEXT_PUBLIC_SITE_URL=https://backoffice.ghabilee.ir
NEXT_PUBLIC_API_URL=
NEXT_PUBLIC_FILE_SERVER_URL=
# Dev-only same-origin proxy to Nest. Leave empty in Docker/production.
# Never use http://127.0.0.1:3000 / localhost here in a container — that is this
# Next process and bakes a self-proxy CPU loop into the image at build time.
API_PROXY_TARGET=