-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production.example
More file actions
30 lines (24 loc) · 944 Bytes
/
.env.production.example
File metadata and controls
30 lines (24 loc) · 944 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
25
26
27
28
29
30
# Copy this file to .env.production or export equivalent variables in your runtime.
# Do not commit real secrets.
NODE_ENV=production
HOST=127.0.0.1
PORT=3000
DATA_DIR=/var/lib/hicad
FRONTEND_DIR=./frontend/dist
# Production secrets must be random and at least 32 characters.
JWT_ACCESS_SECRET=replace-with-32-plus-random-characters
JWT_REFRESH_SECRET=replace-with-32-plus-random-characters
PAY_CALLBACK_SECRET=replace-with-32-plus-random-characters
# Registration bootstrap code for controlled deployments.
DEV_ACTIVATION_CODE=replace-with-private-activation-code
# AI adapter: deepseek, openai, qwen, or mock.
AI_ADAPTER=mock
DEEPSEEK_API_KEY=
OPENAI_API_KEY=
QWEN_API_KEY=
# CAD/runtime limits.
CAD_WORKER_TIMEOUT_MS=5000
CAD_MAX_CODE_BYTES=200000
UPLOAD_MAX_STL_BYTES=5242880
# Reserved for a future PostgreSQL repository migration. Current app persistence remains JSON.
DATABASE_URL=postgresql://hicad:change-me@127.0.0.1:5432/hicad