forked from cldershem/jelly-actix-web-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
78 lines (63 loc) · 2.71 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
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
# After configuring this file it should be renamed to .env
# The IP interface this should listen on.
BIND_TO="127.0.0.1:17001"
# Your domain. In production this is used for secure cookie handling.
# In production you might have a reverse proxy in front of jelly
# handling ssl termination and listening on 443 and then passing to 17001.
# In that case you might use: JELLY_DOMAIN="https://www.example.com".
# Used to build OAuth redirect URI, so this cannot contain an IP address.
JELLY_DOMAIN="http://localhost:17001"
# Your domain. In production this is used for secure session handling.
# Set in production usage due to cookie handling for local hosts vs domains.
SESSIONID_DOMAIN="www.example.com"
# Your database URL, an example of what this looks like for postgres below:
# DATABASE_URL="postgres://user:VeryLongExamplePaswordReplaceMe@localhost/jellyDB"
# DATABASE_URL=""
# Your SECRET_KEY value, used notably for secure cookies.
# If changed, existing secure cookies become invalid and users must reauthenticate.
#
# This is similar to Django, so feel free to check a guide for creating one.
# Be mindful of special characters here - e.g, "$" needs to be "\$".
# For actix-session 0.6, must be at least 64 chars long.
# SECRET_KEY=""
# Your postmarkapp.com API key, for sending emails, Uncomment to use.
#
# POSTMARK_API_KEY=""
#
# Postmark stream to be used : Should be outbound for transactional messages
# POSTMARK_MESSAGE_STREAM="outbound"
#
# Your sendgrid.com API key, for sending emails, Uncomment to use.
#
# SENDGRID_API_KEY=""
# All variables starting with JELLY_ are exported in templates context and as
# such can be used in web and mail templates, this means you could create
# a link in a template for example: <a href="{{ JELLY_DOMAIN }}">HOME</a>
JELLY_SUPPORT_EMAIL="support@example.com"
# Required for tests
JELLY_HELP_URL="http://example.com/help"
# EMAIL DEFAULT SENDER
EMAIL_DEFAULT_FROM="noreply@example.com"
# EMAIL SMTP CONFIGURATION
EMAIL_SMTP_HOST="smtp.example.com"
EMAIL_SMTP_PORT="465"
EMAIL_SMTP_USERNAME="noreply@example.com"
EMAIL_SMTP_PASSWORD=""
# Disable TLS. Use only for local development.
#EMAIL_SMTP_NOTLS=1
# EMAIL MOCK CONFIGURATION
EMAIL_MOCK_BOUNCE_PATTERN="bounce"
# Templates to monitor and/or use.
TEMPLATES_GLOB="templates/**/*"
# Uncomment and set if using OAuth2
# or read these from client_secret_...json file downloaded from Google dev console.
# GOOGLE_CLIENT_ID=""
# GOOGLE_CLIENT_SECRET=""
# TWITTER_CLIENT_ID=""
# GITHUB_CLIENT_ID=""
# GITHUB_CLIENT_SECRET=""
# Uncomment and set to your path to your static root, for static files.
# STATIC_ROOT=""
# Just force these here to make life easier. ;P
RUST_BACKTRACE=1
RUST_LOG="info,actix_web=trace,background_jobs_core=warn,background_jobs_actix=warn"