2021-04-20 21:17:34 -07:00
|
|
|
# --------------------------------------------
|
2024-05-15 17:13:31 -07:00
|
|
|
# REQUIRED: DOCKER SPECIFIC SETTINGS
|
2021-04-20 21:17:34 -07:00
|
|
|
# --------------------------------------------
|
2024-05-15 17:13:31 -07:00
|
|
|
APP_VERSION=v6.4.1
|
|
|
|
APP_PORT=8000
|
|
|
|
|
2021-04-20 21:17:34 -07:00
|
|
|
# --------------------------------------------
|
|
|
|
# REQUIRED: BASIC APP SETTINGS
|
|
|
|
# --------------------------------------------
|
2024-05-15 17:13:31 -07:00
|
|
|
APP_ENV=production
|
2021-04-20 21:17:34 -07:00
|
|
|
APP_DEBUG=false
|
2024-05-15 17:13:31 -07:00
|
|
|
# Please regenerate the APP_KEY value by calling `docker compose run --rm snipeit php artisan key:generate --show`. Copy paste the value here
|
2021-04-20 21:17:34 -07:00
|
|
|
APP_KEY=base64:3ilviXqB9u6DX1NRcyWGJ+sjySF+H18CPDGb3+IVwMQ=
|
|
|
|
APP_URL=http://localhost:8000
|
2024-05-15 17:13:31 -07:00
|
|
|
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - TZ identifier
|
2021-04-20 21:17:34 -07:00
|
|
|
APP_TIMEZONE='UTC'
|
2024-07-23 09:15:44 -07:00
|
|
|
APP_LOCALE=en-US
|
2021-04-20 21:17:34 -07:00
|
|
|
MAX_RESULTS=500
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# REQUIRED: UPLOADED FILE STORAGE SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
PRIVATE_FILESYSTEM_DISK=local
|
|
|
|
PUBLIC_FILESYSTEM_DISK=local_public
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# REQUIRED: DATABASE SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
DB_CONNECTION=mysql
|
2024-05-15 17:13:31 -07:00
|
|
|
DB_HOST=db
|
2024-06-07 03:04:10 -07:00
|
|
|
DB_PORT='3306'
|
2021-04-20 21:17:34 -07:00
|
|
|
DB_DATABASE=snipeit
|
|
|
|
DB_USERNAME=snipeit
|
|
|
|
DB_PASSWORD=changeme1234
|
2024-05-15 17:13:31 -07:00
|
|
|
MYSQL_ROOT_PASSWORD=changeme1234
|
2021-04-20 21:17:34 -07:00
|
|
|
DB_PREFIX=null
|
|
|
|
DB_DUMP_PATH='/usr/bin'
|
|
|
|
DB_CHARSET=utf8mb4
|
|
|
|
DB_COLLATION=utf8mb4_unicode_ci
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: SSL DATABASE SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
DB_SSL=false
|
|
|
|
DB_SSL_IS_PAAS=false
|
|
|
|
DB_SSL_KEY_PATH=null
|
|
|
|
DB_SSL_CERT_PATH=null
|
|
|
|
DB_SSL_CA_PATH=null
|
|
|
|
DB_SSL_CIPHER=null
|
2024-03-27 09:38:13 -07:00
|
|
|
DB_SSL_VERIFY_SERVER=null
|
2021-04-20 21:17:34 -07:00
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# REQUIRED: OUTGOING MAIL SERVER SETTINGS
|
|
|
|
# --------------------------------------------
|
2024-02-28 23:37:52 -08:00
|
|
|
MAIL_MAILER=smtp
|
2021-04-20 21:17:34 -07:00
|
|
|
MAIL_HOST=mailhog
|
|
|
|
MAIL_PORT=1025
|
|
|
|
MAIL_USERNAME=null
|
|
|
|
MAIL_PASSWORD=null
|
2024-02-28 23:37:52 -08:00
|
|
|
MAIL_TLS_VERIFY_PEER=true
|
2021-04-20 21:17:34 -07:00
|
|
|
MAIL_FROM_ADDR=you@example.com
|
|
|
|
MAIL_FROM_NAME='Snipe-IT'
|
|
|
|
MAIL_REPLYTO_ADDR=you@example.com
|
|
|
|
MAIL_REPLYTO_NAME='Snipe-IT'
|
|
|
|
MAIL_AUTO_EMBED_METHOD='attachment'
|
|
|
|
|
2024-05-15 17:13:31 -07:00
|
|
|
# --------------------------------------------
|
|
|
|
# REQUIRED: DATA PROTECTION
|
|
|
|
# --------------------------------------------
|
|
|
|
ALLOW_BACKUP_DELETE=false
|
|
|
|
ALLOW_DATA_PURGE=false
|
|
|
|
|
2021-04-20 21:17:34 -07:00
|
|
|
# --------------------------------------------
|
|
|
|
# REQUIRED: IMAGE LIBRARY
|
|
|
|
# This should be gd or imagick
|
|
|
|
# --------------------------------------------
|
|
|
|
IMAGE_LIB=gd
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: BACKUP SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
MAIL_BACKUP_NOTIFICATION_DRIVER=null
|
|
|
|
MAIL_BACKUP_NOTIFICATION_ADDRESS=null
|
|
|
|
BACKUP_ENV=true
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: SESSION SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
SESSION_LIFETIME=12000
|
|
|
|
EXPIRE_ON_CLOSE=false
|
|
|
|
ENCRYPT=false
|
|
|
|
COOKIE_NAME=snipeit_session
|
|
|
|
COOKIE_DOMAIN=null
|
|
|
|
SECURE_COOKIES=false
|
|
|
|
API_TOKEN_EXPIRATION_YEARS=40
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: SECURITY HEADER SETTINGS
|
|
|
|
# --------------------------------------------
|
2024-05-15 17:13:31 -07:00
|
|
|
APP_TRUSTED_PROXIES=192.168.1.1,10.0.0.1,172.0.0.0/8
|
2021-04-20 21:17:34 -07:00
|
|
|
ALLOW_IFRAMING=false
|
|
|
|
REFERRER_POLICY=same-origin
|
|
|
|
ENABLE_CSP=false
|
|
|
|
CORS_ALLOWED_ORIGINS=null
|
|
|
|
ENABLE_HSTS=false
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: CACHE SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
CACHE_DRIVER=file
|
|
|
|
SESSION_DRIVER=file
|
|
|
|
QUEUE_DRIVER=sync
|
|
|
|
CACHE_PREFIX=snipeit
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: REDIS SETTINGS
|
|
|
|
# --------------------------------------------
|
2024-05-15 17:13:31 -07:00
|
|
|
REDIS_HOST=null
|
2021-04-20 21:17:34 -07:00
|
|
|
REDIS_PASSWORD=null
|
|
|
|
REDIS_PORT=6379
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: MEMCACHED SETTINGS
|
|
|
|
# --------------------------------------------
|
|
|
|
MEMCACHED_HOST=null
|
|
|
|
MEMCACHED_PORT=null
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: PUBLIC S3 Settings
|
|
|
|
# --------------------------------------------
|
|
|
|
PUBLIC_AWS_SECRET_ACCESS_KEY=null
|
|
|
|
PUBLIC_AWS_ACCESS_KEY_ID=null
|
|
|
|
PUBLIC_AWS_DEFAULT_REGION=null
|
|
|
|
PUBLIC_AWS_BUCKET=null
|
|
|
|
PUBLIC_AWS_URL=null
|
|
|
|
PUBLIC_AWS_BUCKET_ROOT=null
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: PRIVATE S3 Settings
|
|
|
|
# --------------------------------------------
|
|
|
|
PRIVATE_AWS_ACCESS_KEY_ID=null
|
|
|
|
PRIVATE_AWS_SECRET_ACCESS_KEY=null
|
|
|
|
PRIVATE_AWS_DEFAULT_REGION=null
|
|
|
|
PRIVATE_AWS_BUCKET=null
|
|
|
|
PRIVATE_AWS_URL=null
|
|
|
|
PRIVATE_AWS_BUCKET_ROOT=null
|
|
|
|
|
2022-04-27 06:26:33 -07:00
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: AWS Settings
|
|
|
|
# --------------------------------------------
|
|
|
|
AWS_ACCESS_KEY_ID=null
|
|
|
|
AWS_SECRET_ACCESS_KEY=null
|
|
|
|
AWS_DEFAULT_REGION=null
|
|
|
|
|
2021-04-20 21:17:34 -07:00
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: LOGIN THROTTLING
|
|
|
|
# --------------------------------------------
|
|
|
|
LOGIN_MAX_ATTEMPTS=5
|
|
|
|
LOGIN_LOCKOUT_DURATION=60
|
|
|
|
RESET_PASSWORD_LINK_EXPIRES=900
|
|
|
|
|
|
|
|
# --------------------------------------------
|
|
|
|
# OPTIONAL: MISC
|
|
|
|
# --------------------------------------------
|
2022-07-25 19:57:14 -07:00
|
|
|
LOG_CHANNEL=stderr
|
2022-07-25 19:25:06 -07:00
|
|
|
LOG_MAX_DAYS=10
|
2021-04-20 21:17:34 -07:00
|
|
|
APP_LOCKED=false
|
|
|
|
APP_CIPHER=AES-256-CBC
|
2023-10-30 07:09:44 -07:00
|
|
|
APP_FORCE_TLS=false
|
2021-04-20 21:17:34 -07:00
|
|
|
GOOGLE_MAPS_API=
|
|
|
|
LDAP_MEM_LIM=500M
|
|
|
|
LDAP_TIME_LIM=600
|