-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
106 lines (88 loc) · 2.77 KB
/
.env.example
File metadata and controls
106 lines (88 loc) · 2.77 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Application Settings
ENV="dev" # dev | staging | prod
LOGURU_LEVEL="INFO"
SENTRY_DSN=""
HOST="http://localhost:8000"
DOCS_HOST="http://localhost:8080"
# CORS_ORIGINS must NOT end in a trailing slash
CORS_ORIGINS='["http://localhost:8000", "http://localhost:8080"]'
# SUPPORT
SUPPORT_EMAIL=support@example.com
# SYNTAX HIGHLIGHTER THEME
DEFAULT_CODE_THEME_LIGHT="atom-one-light"
DEFAULT_CODE_THEME_DARK="atom-one-dark"
# Database Settings
DATABASE_USER="postgres"
DATABASE_PASSWORD="postgres"
DATABASE_HOST="db"
DATABASE_PORT=5432
DATABASE_NAME="postgres"
# Authentication Settings
DISABLE_REGISTRATION=false # Set to true to disable registration
DISABLE_LOCAL_AUTH=false # Set to true to disable local authentication, must have at least one SSO provider enabled to login/register
SECRET_KEY="your-secure-secret-key-here" # Change this in production!
VALIDATION_LINK_EXPIRATION=900 # 15 minutes in seconds
PASSWORD_RESET_LINK_EXPIRATION=900 # 15 minutes in seconds
# Cookie Settings
COOKIE_NAME="devscriptauth"
COOKIE_MAX_AGE=2592000 # 30 days in seconds
# Plausible Analytics
PLAUSIBLE_SITE_NAME="" # Name of the site configured in Plausible
PLAUSIBLE_SCRIPT_URL="" # URL of the Plausible script
# Plausible Analytics for the docs site
PLAUSIBLE_DOCS_SITE_NAME="" # Name of the site configured in Plausible for the docs site
PLAUSIBLE_DOCS_SCRIPT_URL="" # URL of the Plausible script for the docs site
# Email Settings
SMTP_HOST="smtp.example.com"
SMTP_PORT=587
SMTP_USER="hello@example.com"
SMTP_PASSWORD="your-password"
SMTP_STARTTLS=false
SMTP_SSL=false
SMTP_FROM="no-reply@example.com"
SMTP_FROM_NAME="devscript Snippet Manager"
# Enables debug output for email
SMTP_DEBUG=false
# This will disable sending emails in development and output in the terminal instead
SMTP_LOCAL_DEV=false
# SSO Provider Settings
## Facebook
FACEBOOK_CLIENT_ID=""
FACEBOOK_CLIENT_SECRET=""
FACEBOOK_AUTO_VERIFY_EMAIL=true
## GitHub
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""
GITHUB_AUTO_VERIFY_EMAIL=true
## GitLab
GITLAB_CLIENT_ID=""
GITLAB_CLIENT_SECRET=""
GITLAB_AUTO_VERIFY_EMAIL=true
## Google
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
GOOGLE_AUTO_VERIFY_EMAIL=true
## LinkedIn
LINKEDIN_CLIENT_ID=""
LINKEDIN_CLIENT_SECRET=""
LINKEDIN_AUTO_VERIFY_EMAIL=true
## Microsoft
MICROSOFT_CLIENT_ID=""
MICROSOFT_CLIENT_SECRET=""
MICROSOFT_AUTO_VERIFY_EMAIL=true
## Spotify
SPOTIFY_CLIENT_ID=""
SPOTIFY_CLIENT_SECRET=""
SPOTIFY_AUTO_VERIFY_EMAIL=true
## X (Twitter)
XTWITTER_CLIENT_ID=""
XTWITTER_CLIENT_SECRET=""
XTWITTER_AUTO_VERIFY_EMAIL=true
## Generic OIDC
# Callback for custom oidc provider will be /auth/{GENERIC_OIDC_NAME}/callback
GENERIC_OIDC_DISCOVERY_URL=""
GENERIC_OIDC_NAME=""
GENERIC_OIDC_CLIENT_ID=""
GENERIC_OIDC_CLIENT_SECRET=""
GENERIC_OIDC_ALLOW_INSECURE_HTTP=false
GENERIC_OIDC_AUTO_VERIFY_EMAIL=false