2016-03-25 01:18:05 -07:00
|
|
|
# --------------------------------------------
|
|
|
|
# REQUIRED: BASIC APP SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
APP_ENV=production
|
|
|
|
APP_DEBUG=false
|
|
|
|
APP_KEY=ChangeMe
|
|
|
|
APP_URL=null
|
2016-05-20 14:29:15 -07:00
|
|
|
APP_TIMEZONE='UTC'
|
2016-03-25 01:18:05 -07:00
|
|
|
APP_LOCALE=en
|
2018-03-23 16:19:26 -07:00
|
|
|
BACKUP_ENV=false
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# REQUIRED: DATABASE SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
DB_CONNECTION=mysql
|
2017-10-26 16:30:48 -07:00
|
|
|
DB_HOST=127.0.0.1
|
2016-03-25 01:18:05 -07:00
|
|
|
DB_DATABASE=null
|
|
|
|
DB_USERNAME=null
|
|
|
|
DB_PASSWORD=null
|
2016-04-19 00:47:12 -07:00
|
|
|
DB_PREFIX=null
|
2016-06-02 17:17:33 -07:00
|
|
|
DB_DUMP_PATH='/usr/bin'
|
2017-09-26 16:02:55 -07:00
|
|
|
DB_CHARSET=utf8mb4
|
|
|
|
DB_COLLATION=utf8mb4_unicode_ci
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2016-11-28 19:25:26 -08:00
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: SSL DATABASE SETTINGS
|
|
|
|
# --------------------------------------------
|
2016-12-03 17:33:36 -08:00
|
|
|
DB_SSL=false
|
2016-11-28 19:25:26 -08:00
|
|
|
DB_SSL_KEY_PATH=null
|
|
|
|
DB_SSL_CERT_PATH=null
|
|
|
|
DB_SSL_CA_PATH=null
|
|
|
|
DB_SSL_CIPHER=null
|
|
|
|
|
2016-03-25 01:18:05 -07:00
|
|
|
# --------------------------------------------
|
|
|
|
# REQUIRED: OUTGOING MAIL SERVER SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
MAIL_DRIVER=smtp
|
|
|
|
MAIL_HOST=email-smtp.us-west-2.amazonaws.com
|
|
|
|
MAIL_PORT=587
|
|
|
|
MAIL_USERNAME=YOURUSERNAME
|
|
|
|
MAIL_PASSWORD=YOURPASSWORD
|
|
|
|
MAIL_ENCRYPTION=null
|
|
|
|
MAIL_FROM_ADDR=you@example.com
|
2016-08-23 16:03:57 -07:00
|
|
|
MAIL_FROM_NAME='Snipe-IT'
|
2016-09-20 07:20:10 -07:00
|
|
|
MAIL_REPLYTO_ADDR=you@example.com
|
|
|
|
MAIL_REPLYTO_NAME='Snipe-IT'
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# REQUIRED: IMAGE LIBRARY
|
|
|
|
# This should be gd or imagick
|
|
|
|
# --------------------------------------------
|
|
|
|
IMAGE_LIB=gd
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: SESSION SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
SESSION_LIFETIME=12000
|
|
|
|
EXPIRE_ON_CLOSE=false
|
|
|
|
ENCRYPT=false
|
|
|
|
COOKIE_NAME=snipeit_session
|
|
|
|
COOKIE_DOMAIN=null
|
|
|
|
SECURE_COOKIES=false
|
2017-09-28 19:45:15 -07:00
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: SECURITY HEADER SETTINGS
|
|
|
|
# --------------------------------------------
|
2017-10-02 16:47:19 -07:00
|
|
|
REFERRER_POLICY=same-origin
|
2017-10-02 13:29:42 -07:00
|
|
|
ENABLE_CSP=false
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: CACHE SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
CACHE_DRIVER=file
|
|
|
|
SESSION_DRIVER=file
|
|
|
|
QUEUE_DRIVER=sync
|
|
|
|
|
2017-10-09 15:44:08 -07:00
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: REDIS SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
REDIS_HOST=null
|
|
|
|
REDIS_PASSWORD=null
|
|
|
|
REDIS_PORT-null
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: AWS S3 SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
AWS_SECRET=null
|
|
|
|
AWS_KEY=null
|
|
|
|
AWS_REGION=null
|
|
|
|
AWS_BUCKET=null
|
|
|
|
|
2016-12-01 02:04:15 -08:00
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: LOGIN THROTTLING
|
|
|
|
# --------------------------------------------
|
|
|
|
LOGIN_MAX_ATTEMPTS=5
|
|
|
|
LOGIN_LOCKOUT_DURATION=60
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: MISC
|
|
|
|
# --------------------------------------------
|
2017-11-08 11:08:11 -08:00
|
|
|
APP_LOG=single
|
2017-10-17 20:04:07 -07:00
|
|
|
APP_LOG_MAX_FILES=10
|
2016-03-25 01:18:05 -07:00
|
|
|
APP_LOCKED=false
|
|
|
|
FILESYSTEM_DISK=local
|
2016-08-23 16:03:57 -07:00
|
|
|
APP_TRUSTED_PROXIES=192.168.1.1,10.0.0.1
|
2016-08-29 22:57:29 -07:00
|
|
|
ALLOW_IFRAMING=false
|
2017-01-09 19:41:24 -08:00
|
|
|
APP_CIPHER=AES-256-CBC
|
2017-12-01 19:12:35 -08:00
|
|
|
GOOGLE_MAPS_API=
|
2018-02-26 18:12:48 -08:00
|
|
|
BACKUP_ENV=true
|