forked from javedh-dev/tracktor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (37 loc) · 1.6 KB
/
.env.example
File metadata and controls
41 lines (37 loc) · 1.6 KB
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
31
32
33
34
35
36
37
38
39
40
41
## Copy this file to `.env` and modify the values as needed.
# Diable all environment variables to use default values
#--------------------------------
# Node configuration
#--------------------------------
# Node.js environment mode: "development"[default], "production", or "test"
NODE_ENV=development
#--------------------------------
# Backend configuration
#--------------------------------
# The host address for the backend server, e.g., "0.0.0.0"[default] for all interfaces
BACKEND_HOST=0.0.0.0
# The port number for the backend server, e.g., 3000[default]
BACKEND_PORT=3000
# 6 digit authentication pin
AUTH_PIN=123456
#--------------------------------
# Database configuration
#--------------------------------
# Path to SQLite database file (relative or absolute), e.g., "./tracktor.db"[default]
DATABASE_PATH=/data/tracktor.db
# Force seed demo data on each start: "true" or "false"[default]
FORCE_DEMO_SEED_DATA=false
# Allowed CORS origins (comma-separated URLs), e.g., origins for frontend access.
# Please define the reverse proxy URL as well here.
CORS_ORIGINS=http://localhost:5173,http://localhost:3000,http://127.0.0.1:5173,http://127.0.0.1:3000
#--------------------------------
# Frontend configuration
#--------------------------------
# The host address for the frontend dev server, e.g., "0.0.0.0"
FRONTEND_HOST=0.0.0.0
# The port number for the frontend dev server, e.g., 5173
FRONTEND_PORT=5173
# Publicly available API base URL for frontend to use, e.g., "http://localhost:3000"
PUBLIC_API_BASE_URL=http://localhost:3000
# Run client in public demo mode: "true" or "false"[default]
PUBLIC_DEMO_MODE=false