generated from BearStudio/start-ui-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (32 loc) · 1.21 KB
/
.env.example
File metadata and controls
41 lines (32 loc) · 1.21 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
VITE_PORT=3000
# DOCKER
DOCKER_DATABASE_PORT="5442"
DOCKER_DATABASE_NAME="pointshunt"
DOCKER_DATABASE_USERNAME="pointshunt"
DOCKER_DATABASE_PASSWORD="pointshunt"
# PUBLIC CONFIG
VITE_BASE_URL="http://localhost:${VITE_PORT}"
VITE_EVENT_NAME="Event Name"
VITE_EVENT_END_DATE="20 nov 2025 16:20:00 +1"
# Use the following environment variables to show the environment name.
VITE_ENV_NAME="LOCAL"
VITE_ENV_EMOJI="🚧"
VITE_ENV_COLOR="gold"
# Configure demo mode (read only)
VITE_IS_DEMO="false"
# DATABASE
DATABASE_URL="postgres://${DOCKER_DATABASE_USERNAME}:${DOCKER_DATABASE_PASSWORD}@localhost:${DOCKER_DATABASE_PORT}/${DOCKER_DATABASE_NAME}"
# AUTH
AUTH_SECRET="REPLACE ME" # You can use `npx @better-auth/cli@latest secret` to a generated secret
AUTH_SESSION_EXPIRATION_IN_SECONDS=2592000 # 30 days
AUTH_SESSION_UPDATE_AGE_IN_SECONDS=86400 # 1 day (every 1 day the session expiration is updated)
AUTH_TRUSTED_ORIGINS="start-ui-native://,start-ui-native://*" # Mobile app scheme for trustedOrigins config
# GITHUB
GITHUB_CLIENT_ID="REPLACE ME"
GITHUB_CLIENT_SECRET="REPLACE ME"
# EMAILS
EMAIL_SERVER="smtp://username:password@0.0.0.0:1025"
EMAIL_FROM="Start UI <noreply@example.com>"
# LOGGER
LOGGER_LEVEL="info"
LOGGER_PRETTY="true"