-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
80 lines (68 loc) · 2.89 KB
/
.env.example
File metadata and controls
80 lines (68 loc) · 2.89 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
##
# PhpMongoAdmin back-end environment settings
# !! Update these to suit your needs and to maximise your applications security
##
## Required settings
APP_NAME="PHP Mongo Admin"
APP_ENV=local ## set the environment: production, staging, testing, local
APP_KEY= ## ensure a key is generated - 32 CHAR ramdom string
APP_DEBUG=true ## true for local or development environment
APP_URL=http://localhost ## http://yourdomain.co
LOG_CHANNEL=stack
## Database
DB_CONNECTION=sqlite
## Database configurations
## Default system path to >/database/sqlite/database.sqlite
DB_DATABASE=/usr/share/phpMongoAdmin/database/sqlite/database.sqlite
DB_FOREIGN_KEYS=true
DB_QUERY_LOGS=true
## MongoDb Host (default)
# This host name needs a configuration to cater for docker environments
MONGODB_HOST=localhost
## We need to flag docker builds
IS_DOCKER_APP=false
BROADCAST_DRIVER=log
CACHE_DRIVER=file
## Application QUEUE: default for development = 'sync'
QUEUE_CONNECTION=database
SESSION_DRIVER=file
SESSION_LIFETIME=120
## Future usage
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
## Mailer options
MAIL_MAILER=log
MAIL_HOST=localhost
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
## Default FROM ADDR
MAIL_FROM_ADDRESS= ## sender@yourdomain
MAIL_FROM_NAME="${APP_NAME}"
## Save all email sent to logfile ## comment this out to disable
MAIL_LOG_CHANNEL=emails
## Optional app settings
## These optional database setting can be used to lock the application into single user mode
## Currently only the APP_ENV='demo' environment supports these user:passwd values
## Future versions will see an improvememt in setting-up/enabling single-user mode
## See below a note for changing this now
DB_USER= ## unused for now
DB_PASSWD= ## Unused for now
## The APP_ENV value is evaluated in: app/Http/Classes/MongoConnection.php at line: 390
## On our Demo website we use ( APP_ENV=demo ) to restrict the site capabilities along with a restrictive MongoDB user
APP_TIMEZONE='Australia/Brisbane' ## set your timezone for sensible time keeping eg: 'Australia/Brisbane'
APP_MIN_PWD_LENGTH=8 ## safe default
SERVER_MIN_PWD_LENGTH=0 ## in order to access an 'insecure' local server we allow 'no' password
## Restrict an environment from creating new users
## This setting allows you the restrict the application to the user credentials defined above
## Use: "production" to prevent user creation on one environment
## Use: "production,staging" comma separated to prevent user creation on multiple environments
APP_DENY_ENV_ADD_USERS="demo"
## Enable or disable IpInfo querying
## If this application is used offline this should be disabled
IPINFO_ENABLED=false
## Manually pass an IP address to IpConfig
## This will enforce the same location for all users
IPINFO_ADDRESS= ## '203.203.230.203'