mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
106 lines
2.7 KiB
Plaintext
106 lines
2.7 KiB
Plaintext
# --------------------------------------------
|
|
# REQUIRED: BASIC APP SETTINGS
|
|
# --------------------------------------------
|
|
APP_ENV=local
|
|
APP_DEBUG=false
|
|
APP_KEY=base64:hTUIUh9CP6dQx+6EjSlfWTgbaMaaRvlpEwk45vp+xmk=
|
|
APP_URL=http://127.0.0.1:8000
|
|
APP_TIMEZONE='US/Eastern'
|
|
APP_LOCALE=en
|
|
APP_LOCKED=false
|
|
MAX_RESULTS=200
|
|
|
|
# --------------------------------------------
|
|
# REQUIRED: UPLOADED FILE STORAGE SETTINGS
|
|
# --------------------------------------------
|
|
PRIVATE_FILESYSTEM_DISK=local
|
|
PUBLIC_FILESYSTEM_DISK=local_public
|
|
|
|
# --------------------------------------------
|
|
# REQUIRED: DATABASE SETTINGS
|
|
# --------------------------------------------
|
|
DB_CONNECTION=mysql
|
|
DB_HOST=localhost
|
|
DB_DATABASE=snipeit-local
|
|
DB_USERNAME=snipeit-local
|
|
DB_PASSWORD=snipeit-local
|
|
DB_PREFIX=null
|
|
DB_DUMP_PATH='/Applications/MAMP/Library/bin'
|
|
|
|
# --------------------------------------------
|
|
# OPTIONAL: SSL DATABASE SETTINGS
|
|
# --------------------------------------------
|
|
DB_SSL=false
|
|
DB_SSL_KEY_PATH=null
|
|
DB_SSL_CERT_PATH=null
|
|
DB_SSL_CA_PATH=null
|
|
DB_SSL_CIPHER=null
|
|
|
|
# --------------------------------------------
|
|
# REQUIRED: OUTGOING MAIL SERVER SETTINGS
|
|
# --------------------------------------------
|
|
MAIL_DRIVER="log"
|
|
|
|
|
|
# --------------------------------------------
|
|
# REQUIRED: IMAGE LIBRARY
|
|
# This should be gd or imagick
|
|
# --------------------------------------------
|
|
IMAGE_LIB=gd
|
|
|
|
|
|
# --------------------------------------------
|
|
# OPTIONAL: SESSION SETTINGS
|
|
# --------------------------------------------
|
|
SESSION_LIFETIME=12000
|
|
EXPIRE_ON_CLOSE=false
|
|
ENCRYPT=true
|
|
COOKIE_NAME=snipeit_v5_local
|
|
SECURE_COOKIES=true
|
|
|
|
# --------------------------------------------
|
|
# OPTIONAL: SECURITY HEADER SETTINGS
|
|
# --------------------------------------------
|
|
REFERRER_POLICY=same-origin
|
|
ENABLE_CSP=true
|
|
CORS_ALLOWED_ORIGINS="*"
|
|
|
|
# --------------------------------------------
|
|
# OPTIONAL: CACHE SETTINGS
|
|
# --------------------------------------------
|
|
CACHE_DRIVER=file
|
|
SESSION_DRIVER=file
|
|
QUEUE_DRIVER=sync
|
|
|
|
# --------------------------------------------
|
|
# OPTIONAL: LOGIN THROTTLING
|
|
# --------------------------------------------
|
|
LOGIN_MAX_ATTEMPTS=50000
|
|
LOGIN_LOCKOUT_DURATION=1000
|
|
RESET_PASSWORD_LINK_EXPIRES=15
|
|
|
|
# --------------------------------------------
|
|
# OPTIONAL: API
|
|
# --------------------------------------------
|
|
API_MAX_REQUESTS_PER_HOUR=200
|
|
|
|
# --------------------------------------------
|
|
# OPTIONAL: SAML SETTINGS
|
|
# --------------------------------------------
|
|
DISABLE_NOSAML_LOCAL_LOGIN=true
|
|
|
|
|
|
# --------------------------------------------
|
|
# OPTIONAL: MISC
|
|
# --------------------------------------------
|
|
LOG_CHANNEL=single
|
|
LOG_LEVEL=debug
|
|
LOG_CHANNEL=stack
|
|
LOG_SLACK_WEBHOOK_URL=null
|
|
APP_TRUSTED_PROXIES=192.168.1.1,10.0.0.1
|
|
ALLOW_IFRAMING=true
|
|
ENABLE_HSTS=false
|
|
WARN_DEBUG=false
|
|
APP_CIPHER=AES-256-CBC
|
|
|