-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
executable file
·105 lines (85 loc) · 3.26 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
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
# This is used by Docker Compose to set up prefix names for Docker images,
# containers, volumes and networks. This ensures that everything is named
# consistently regardless of your folder structure.
COMPOSE_PROJECT_NAME=murfin_method
# HOSTNAME = murfin-method.herokuapp.com # example for Heroku
# Database connections.
MYSQL_ROOT_PASSWORD=YOU_MUST_CHANGE_THIS_PASSWORD
MYSQL_USER=murfin_method_user
MYSQL_PASSWORD=YOU_MUST_CHANGE_THIS_PASSWORD
DB_DATABASE=murfin_method
DB_PORT=3306
# You would typically use `bundle exec rails secret` to generate a secure token. It is
# critical that you keep this value private in production.
SECRET_TOKEN=YOU_MUST_CHANGE_THIS_PASSWORD
# Redis config.
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=YOU_MUST_CHANGE_THIS_PASSWORD
# or REDIS_URL=redis://redis:6379
REDIS_CACHE_NAMESPACE=cache
# The queue prefix for all Active Jobs. The Rails environment will
# automatically be added to this value.
ACTIVE_JOB_QUEUE_PREFIX=murfin_method:jobs
# Rails log level.
# Accepted values: debug, info, warn, error, fatal, or unknown
LOG_LEVEL=debug
# More details about these Puma variables can be found in config/puma.rb.
# Which address should the Puma app server bind to?
BIND_ON=0.0.0.0:3000
# Requests that exceed 5 seconds will be terminated and dumped to a stacktrace.
# Feel free to modify this value to fit the needs of your project, but if you
# have any request that takes more than 5 seconds you probably need to re-think
# what you are doing 99.99% of the time.
RACK_TIMEOUT_SERVICE_TIMEOUT=5
# Action mailer (e-mail) settings.
# You will need to enable less secure apps in your Google account if you plan
# to use GMail as your e-mail SMTP server.
# You can do that here: https://www.google.com/settings/security/lesssecureapps
SMTP_ADDRESS=smtp.gmail.com
SMTP_PORT=587
SMTP_DOMAIN=gmail.com
SMTP_PASSWORD=yourpassword
SMTP_AUTH=plain
SMTP_ENABLE_STARTTLS_AUTO=true
# Not running Docker natively? Replace 'localhost' with your Docker Machine IP
# address, such as: 192.168.99.100:3000
ACTION_MAILER_HOST=localhost:3000
# The queue prefix for all Active Jobs. The Rails environment will
# automatically be added to this value.
ACTIVE_JOB_QUEUE_PREFIX=murfin_method:jobs
# Auth method for user login, form/oauth2/ldap (oauth2 exclusive)
AUTH_METHOD=form,ldap
# Auth0 (user login)
AUTH0_CLIENT_DOMAIN=your_domian.eu.auth0.com
AUTH0_CLIENT_ID=abc
AUTH0_CLIENT_SECRET=abc
# LDAP config
LDAPTLS_REQCERT=never
# LDAP for auth and test script
LDAP_AUTH_HOST=ldap.forumsys.com
LDAP_AUTH_PORT=389
LDAP_AUTH_ENCRYPTED=false
LDAP_AUTH_BASE=dc=example,dc=com
LDAP_AUTH_BIND_KEY=uid
# upn suffix used only if bind key is upn (user principal name)
LDAP_AUTH_UPN_SUFFIX=ldap.forumsys.com
# LDAP for test scipt only
LDAP_AUTH_BIND_VALUE=tesla
LDAP_AUTH_PASSWORD=password
# Secret used to generate API tokens.
JWT_ALGORITHM=HS256
JWT_SECRET=YOU_MUST_CHANGE_THIS_PASSWORD
# Increase docker-compose timeout in case of slow internet.
COMPOSE_HTTP_TIMEOUT=300
# Grover and Puppeteer settings
GROVER_NO_SANDBOX=true
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
CHROMIUM_PATH=/usr/bin/chromium-browser
# Plan settings
PLAN_DEFAULT_START_MONTH=4
# Google Analytics
GA_GLOBAL_SITE_TAG=G-AA11BB22CC33