-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example
64 lines (54 loc) · 2.04 KB
/
config.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
#For logging to a DB, provide credentials:
DB_HOST=127.0.0.1
DB_PORT=3306
DB_LOGIN=dev
DB_PASSWORD=password
DB_DATABASE=probatio
#if the above aren't provided, you must provide a path to a logging directory with a filename prefix:
LOG_FILE=/../../../../../logs/log
#optional for db logging
#provide these DB_LOG variables to use DB logging
DB_LOG_HOST=127.0.0.1
DB_LOG_PORT=3306
DB_LOG_LOGIN=username
DB_LOG_PASSWORD=password
DB_LOG_DATABASE=log
DB_LOG_TABLE=log
#do you want to skip initializing the log table? Default is false
DB_LOG_SKIP_INIT=[true/false]
#other paths
CACHE_DIR=/../../../../../tmp/cache/
VIEW_DIR=/../../../../../src/views/
TMP_DIR=/../../../../../tmp/
#domain names that user's are allowed to log in from or comment out to allow for any domain
AUTH_ALLOWED_DOMAINS=developer.com,asd.com
#comma seperated list of email addresses that can auth or comment out to allow anyone from the domains to auth
#secret key to use for security purposes while authing
AUTH_SECRET=[random string +16 char]
#allow, in dev mode, to bypass login rather than prompting for login
#LOGIN_BYPASS=[true,false]
#OAUTH Client ids and secrets for each supported service
#OAUTH_GOOGLE_CLIENT_ID=[from google]
#OAUTH_GOOGLE_CLIENT_SECRET=[from google]
#OAUTH_MS_CLIENT_ID=[from microsoft]
#OAUTH_MS_CLIENT_SECRET=[from microsoft]
#For sending email
SMTP_LOGIN=[google apps login to send email]
SMTP_PASSWORD=[google apps password to send email]
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=tls
#for sending slack messages via webhook
SLACK_WEBHOOK_URL=token
#namespace where you stash your controllers or you can use the fully qualified name when routing. This just makes your life easier.
CONTROLER_NAMESPACE=rizwanjiwan\project\controllers\
#what env is this? (dev or prod)
ENV=dev
#force
FORCE_HTTPS=false
#debug level [DEBUG, ERROR, INFO] are common settings
LOG_LEV=DEBUG
#if you want to use sentry for critical/shutdown errors, set to true
SENTRY_ON=[true,false]
SENTRY_DNS_PHP=https://[some string]@sentry.io/[some int]