-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
18 lines (16 loc) · 916 Bytes
/
.env.example
File metadata and controls
18 lines (16 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Required: backend REST base used by Next server routes.
# The current Noderax backend serves browser REST traffic from /api/v1.
NODERAX_API_URL=http://localhost:3000/api/v1
# Optional file-backed equivalent for containerized deploys.
# NODERAX_API_URL_FILE=/run/secrets/noderax_api_url
# Optional: client-side REST base fallback. Use the same /api/v1 base.
NEXT_PUBLIC_NODERAX_API_URL=http://localhost:3000/api/v1
# NEXT_PUBLIC_NODERAX_API_URL_FILE=/run/secrets/public_noderax_api_url
# Optional: Socket.IO namespace target. Examples:
# http://localhost:3000
# http://localhost:3000/realtime
# The frontend always connects to the /realtime namespace and still uses
# the default Socket.IO transport path /socket.io.
# HTTP API prefixes such as /v1 or /api/v1 do not apply to realtime.
NEXT_PUBLIC_NODERAX_WS_URL=http://localhost:3000/realtime
# NEXT_PUBLIC_NODERAX_WS_URL_FILE=/run/secrets/public_noderax_ws_url