-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.env.example
More file actions
64 lines (52 loc) · 2.13 KB
/
.env.example
File metadata and controls
64 lines (52 loc) · 2.13 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
58
59
60
61
62
63
64
# OpenSyte Example Environment Variables
# Copy this file to .env and fill in the required values.
# Lines starting with '#' are comments.
########################################
# Core Application
########################################
# PostgreSQL connection string
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/opensyte
# Node environment: development | test | production
NODE_ENV=development
# Local dev server port (used for building URLs in some places)
PORT=3000
# Public app URL (used in emails/links on server and client)
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Use `openssl rand -hex 32` to generate a random string for better auth secret
# This is required for session encryption and security
BETTER_AUTH_SECRET=
# Base URL of your app (used for OAuth redirects and email links)
# Should match NEXT_PUBLIC_APP_URL for consistency
BETTER_AUTH_URL=http://localhost:3000
########################################
# Authentication (Better Auth - Google OAuth)
########################################
# Required for Google sign-in
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
########################################
# Email Service (Resend)
########################################
# Required: API key for Resend transactional emails
RESEND_API_KEY=
RESEND_FROM_NAME=Opensyte
########################################
# SMS Service (Twilio) Optional
########################################
# Leave these unset to disable SMS. Workflow SMS steps will be skipped.
# TWILIO_ACCOUNT_SID=
# TWILIO_AUTH_TOKEN=
# TWILIO_PHONE_NUMBER=
########################################
# Build / CI (Optional)
########################################
# Skip env validation during container builds (not recommended locally)
# SKIP_ENV_VALIDATION=true
########################################
# Early Access Beta System
########################################
# Enable/disable early access mode (true/false)
ALLOW_EARLY_ACCESS=false
# Comma-separated list of admin emails who can access the admin dashboard