mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
f0332a7388
which gets copied to the docker image's `.env` file during installation. This closes #5718
64 lines
1.7 KiB
Bash
64 lines
1.7 KiB
Bash
# --------------------------------------------
|
|
# REQUIRED: BASIC APP SETTINGS
|
|
# --------------------------------------------
|
|
#APP_ENV=develop
|
|
#APP_DEBUG=false
|
|
#APP_KEY=Change_this_key_or_snipe_will_get_ya
|
|
#APP_URL=http://127.0.0.1:32782
|
|
#APP_TIMEZONE=US/Pacific
|
|
#APP_LOCALE=en
|
|
|
|
|
|
# --------------------------------------------
|
|
# REQUIRED: DATABASE SETTINGS
|
|
# --------------------------------------------
|
|
DB_CONNECTION=mysql
|
|
DB_HOST=${MYSQL_PORT_3306_TCP_ADDR}
|
|
DB_PORT=${MYSQL_PORT_3306_TCP_PORT}
|
|
DB_DATABASE=${MYSQL_DATABASE}
|
|
DB_USERNAME=${MYSQL_USER}
|
|
DB_PASSWORD=${MYSQL_PASSWORD}
|
|
DB_PREFIX=null
|
|
DB_DUMP_PATH='/usr/bin'
|
|
|
|
|
|
# --------------------------------------------
|
|
# REQUIRED: OUTGOING MAIL SERVER SETTINGS
|
|
# --------------------------------------------
|
|
MAIL_DRIVER=smtp
|
|
MAIL_HOST=${MAIL_PORT_587_TCP_ADDR}
|
|
MAIL_PORT=${MAIL_PORT_587_TCP_PORT}
|
|
MAIL_USERNAME=${MAIL_ENV_USERNAME}
|
|
MAIL_PASSWORD=${MAIL_ENV_PASSWORD}
|
|
MAIL_ENCRYPTION=${MAIL_ENV_ENCRYPTION}
|
|
MAIL_FROM_ADDR=${MAIL_ENV_FROM_ADDR}
|
|
MAIL_FROM_NAME=${MAIL_ENV_FROM_NAME}
|
|
MAIL_REPLYTO_ADDR=${MAIL_ENV_FROM_ADDR}
|
|
MAIL_REPLYTO_NAME=${MAIL_ENV_FROM_NAME}
|
|
|
|
|
|
# --------------------------------------------
|
|
# 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
|
|
|
|
|
|
# --------------------------------------------
|
|
# OPTIONAL: CACHE SETTINGS
|
|
# --------------------------------------------
|
|
CACHE_DRIVER=file
|
|
SESSION_DRIVER=file
|
|
QUEUE_DRIVER=sync
|