-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
58 lines (42 loc) · 1.58 KB
/
env.example
File metadata and controls
58 lines (42 loc) · 1.58 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Enigma Environment Variables
# Copy this file to .env and configure for your environment
# ===================
# Branding Configuration
# ===================
# Custom app name (default: "Enigma")
# VITE_APP_NAME=My Puzzle Site
# Custom logo paths (place files in public/branding/)
# VITE_BRAND_LOGO=/branding/logo.svg
# VITE_BRAND_LOGO_ANIMATED=/branding/logo-animated.svg
# VITE_BRAND_LOGO_SIMPLE=/branding/logo-simple.svg
# Custom favicon (default: "/favicon.ico")
# VITE_BRAND_FAVICON=/branding/favicon.ico
# OG Image for social sharing (default: "/branding/og-image.png")
# VITE_BRAND_OG_IMAGE=/branding/og-image.png
# Custom brand colors (CSS hex values)
# VITE_BRAND_PRIMARY_COLOR=#3b82f6
# VITE_BRAND_SECONDARY_COLOR=#1d4ed8
# Footer prefix text (shows as "{prefix} powered by Enigma")
# VITE_BRAND_FOOTER_PREFIX=My Brand
# Custom links
# VITE_BRAND_GITHUB_URL=https://github.com/my-org
# VITE_BRAND_WEBSITE_URL=https://my-puzzle-site.com
# ===================
# Backend Configuration
# ===================
# Session secret for secure cookie signing
# IMPORTANT: Change this to a strong, random string in production!
# Generate one with: openssl rand -hex 32
SESSION_SECRET=change-me-in-production
# Port for the backend API server (default: 3000)
PORT=3000
# Frontend URL for CORS configuration (default: http://localhost:5173)
FRONTEND_URL=http://localhost:5173
# Node environment (development/production)
NODE_ENV=development
# Debug Env Variables
DEV=0
# Disable authentication (1/true enables auto-login as a single admin user)
NO_AUTH=0
# If using a reverse proxy set to 1
TRUST_PROXY=0