-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.env.example
More file actions
31 lines (25 loc) · 1.25 KB
/
Copy path.env.example
File metadata and controls
31 lines (25 loc) · 1.25 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
# -----------------------------------------------------------------------------
# SINGULARY ENVIRONMENT CONFIGURATION
# Note: AI Provider API Keys (OpenAI, Anthropic, etc.) are NOT stored here.
# All API keys are securely managed within the platform's UI via the database.
# -----------------------------------------------------------------------------
# [SERVER] Execution Environment
# Set to 'production' when deploying, 'development' for local coding.
NODE_ENV=production
# [SERVER] Network & Listening Port
# The port where the backend API will listen.
PORT=3000
# [NETWORK] Server Origin
# The absolute URL where the backend is accessible from the frontend.
SERVER_ORIGIN=http://localhost:3000
# [NETWORK] Web Origin
# The absolute URL where the frontend is hosted. Used for CORS configuration.
WEB_ORIGIN=http://localhost:5173
# [DATABASE] SQLite Path
# Absolute or relative path to the SQLite database file.
# In Docker, this is usually mapped to a persistent volume (e.g., /app/storage/singulary.sqlite)
DATABASE_PATH=./storage/singulary.sqlite
# [SECURITY] Session Secret
# Used to sign session cookies. MUST be a long, unpredictable random string in production.
# You can generate one using: openssl rand -base64 32
SESSION_SECRET=replace-with-a-long-random-secret