-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.env.yml
83 lines (63 loc) · 1.84 KB
/
sample.env.yml
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
# Copy this file to `.env.yml`, and edit to taste
#
# Whenever a setting is changed here, the app process
# has to be restarted for changes to take effect.
#
# This is preferable, since we do not have to recompile the
# app to apply settings.
#
# REFERENCES:
#
# - https://github.com/grottopress/envy
lucky_env: development # Set to `production` in production
# Set this to `"true"` to make the first user
# to register an "admin"
#
# After the first user is registered, set this
# back to `"false"` and restart the app process
make_first_user_admin: 'false'
name: My App
url: http://localhost:5000
logo_url: /logo.png
favicon_url: /favicon.ico
timezone: UTC
server:
host: '0.0.0.0'
port: '5000'
gzip_enabled: 'false'
secret_key_base: XeqAgSy5QQ+dWe8ruOBUMrz9XPbPZ7chPVtz2ecDGss=
ssl_enabled: 'false'
assets_host: ''
database_url: postgres://postgres:password@localhost:5432/penny_development
# database_url: postgres://root@localhost:26257/penny_development?sslmode=disable
session_key: _app-session
email_from: noreply@my-app.tld
email_reply_to: support@my-app.tld
smtp:
host: mail.example.com
password: a1bcde234
port: '587'
bearer_login_expiry: '7776000' # 3 months
email_confirmation_expiry: '3600' # 1 hour
login_expiry: '86400' # 1 day
login_idle_timeout: '1800' # 30 minutes
password_reset_expiry: '1800' # 30 minutes
# You should change these in production
password:
min_length: '4'
require_lowercase: 'false'
require_number: 'false'
require_special_char: 'false'
require_uppercase: 'false'
skip_log_regex: code|password|secret|token
bearer_login:
scopes_allowed: api.current_user.show api.current_user.update
jobs:
batch_size: '-1'
poll_interval: '3' # seconds
redis_url: redis://localhost:6379/0
worker_id: '1'
keep_bearer_logins_days: '90'
keep_email_confirmations_days: '90'
keep_logins_days: '90'
keep_password_resets_days: '90'