-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
53 lines (40 loc) · 1.44 KB
/
.env.example
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
# test users to create on dev server startup
SUBZERO_TEST_USERS=[{"email":"[email protected]","password":"demo","role":"authenticated"}]
# SUBZERO_IDENTITY_PROVIDER={"domain":"subzero.cloud","metadata_url":"https://localhost:8443/realms/subzero/protocol/saml/descriptor"}
# frontend environment variables
VITE_API_ANON_KEY=dummykey
# backend environment variables
# SQLite
DB_FILE=app.db
# REST module environment variables
DB_URI=$DB_FILE
DB_POOL_MAX=10
DB_ANON_ROLE=anonymous
DB_SCHEMAS=public
# Auth module environment variables
DATABASE_URL=$DB_FILE
# generate random string for jwt secret with letters and numbers
GOTRUE_JWT_SECRET=veryverysecretchangethistosomethingelse
GOTRUE_JWT_EXP=3600
DB_NAMESPACE=auth
GOTRUE_DISABLE_SIGNUP=false
API_EXTERNAL_URL=http://localhost:5173/auth
GOTRUE_SITE_URL=http://localhost:5173
GOTRUE_MAILER_AUTOCONFIRM=true
GOTRUE_SMS_AUTOCONFIRM=false
GOTRUE_JWT_DEFAULT_GROUP_NAME=authenticated
# GOTRUE_EXTERNAL_GITHUB_ENABLED=true
# GOTRUE_EXTERNAL_GITHUB_CLIENT_ID=
# GOTRUE_EXTERNAL_GITHUB_SECRET=
# GOTRUE_EXTERNAL_GITHUB_REDIRECT_URI=http://localhost:5173/auth/callback
# GOTRUE_SAML_ENABLED=true
# GOTRUE_SAML_PRIVATE_KEY=
# GOTRUE_LOG_LEVEL=DEBUG
# GOTRUE_OPERATOR_TOKEN=super-secret-operator-token
# GOTRUE_EXTERNAL_PHONE_ENABLED=true
# GOTRUE_SMTP_HOST=mail
# GOTRUE_SMTP_PORT=2500
# GOTRUE_SMTP_USER=GOTRUE_SMTP_USER
# GOTRUE_SMTP_PASS=GOTRUE_SMTP_PASS
# GOTRUE_COOKIE_KEY=sb