Update .env files
This commit is contained in:
parent
b7a4259f29
commit
df00c41237
87
.env.example
87
.env.example
@ -1,5 +1,5 @@
|
||||
###################################
|
||||
# Blessing Skin Server V3 #
|
||||
# Blessing Skin Server v3 #
|
||||
# Configuration #
|
||||
###################################
|
||||
|
||||
@ -7,72 +7,71 @@
|
||||
# 请访问 http://t.cn/RRZ1OWd 查看中文教程
|
||||
|
||||
# Be sure to disable debug at production environment!
|
||||
APP_DEBUG = false
|
||||
APP_ENV = production
|
||||
APP_ENV = production
|
||||
APP_DEBUG = false
|
||||
|
||||
# =========================
|
||||
# = Database =
|
||||
# =========================
|
||||
DB_CONNECTION = mysql
|
||||
DB_HOST = localhost
|
||||
DB_PORT = 3306
|
||||
DB_DATABASE = blessing-skin
|
||||
DB_USERNAME = username
|
||||
DB_PASSWORD = secret
|
||||
# =========================
|
||||
# Database Configuration
|
||||
DB_CONNECTION = mysql
|
||||
DB_HOST = localhost
|
||||
DB_PORT = 3306
|
||||
DB_DATABASE = skin
|
||||
DB_USERNAME = username
|
||||
DB_PASSWORD = secret
|
||||
|
||||
# Table Prefix
|
||||
#
|
||||
# Enable if you want to install multiple Blessing Skin Server into one database.
|
||||
# It should only contains characters, numbers and underscores.
|
||||
# Change if you want to install multiple BS instances into one database.
|
||||
# The prefix may only contain letters, numbers, and underscores.
|
||||
#
|
||||
DB_PREFIX = null
|
||||
|
||||
# Encrypt Method for Passwords.
|
||||
# Hash Algorithm for Passwords
|
||||
#
|
||||
# Available values:
|
||||
# - PHP_PASSWORD_HASH,
|
||||
# - (SALTED2)MD5,
|
||||
# - (SALTED2)SHA256,
|
||||
# - (SALTED2)SHA512,
|
||||
# - CrazyCrypt1
|
||||
# - PHP_PASSWORD_HASH
|
||||
# - MD5, SALTED2MD5
|
||||
# - SHA256, SALTED2SHA256
|
||||
# - SHA512, SALTED2SHA512
|
||||
#
|
||||
# New sites are *highly* recommend to use PHP_PASSWORD_HASH.
|
||||
# New sites are *highly* recommended to use PHP_PASSWORD_HASH.
|
||||
#
|
||||
PWD_METHOD = PHP_PASSWORD_HASH
|
||||
|
||||
# Salt
|
||||
# Change it to any random string to secure your passwords & tokens.
|
||||
#
|
||||
# Change it to any random string to secure your passwords & tokens.
|
||||
# You can run [php artisan salt:random] to generate a new salt.
|
||||
#
|
||||
SALT = 2c5ca184f017a9a1ffbd198ef69b0c0e
|
||||
SALT = bs893tnok114514tdkr1919yj810snpi
|
||||
|
||||
# App Key should be setted to any random, *32 character* string,
|
||||
# App Key
|
||||
#
|
||||
# Should be formatted as `"base64:".base64_encode(random_bytes(32))`.
|
||||
# Run [php artisan key:generate] to generate a new app key,
|
||||
# otherwise all the encrypted strings will not be safe.
|
||||
#
|
||||
# You can run [php artisan key:generate] to generate a new key.
|
||||
#
|
||||
APP_KEY = base64:gkb/zouNF6UOSfnr/o+izVMS57WQS3+62YqZBuDyBhU=
|
||||
APP_KEY = base64:MfnScX0W/ViN8bZtRt0P481rWP3igcOK80QstjbXUxI=
|
||||
|
||||
# Mail Configurations
|
||||
# Leave MAIL_HOST empty to disable password resetting
|
||||
MAIL_DRIVER = smtp
|
||||
MAIL_HOST = null
|
||||
MAIL_PORT = 465
|
||||
MAIL_USERNAME = null
|
||||
MAIL_PASSWORD = null
|
||||
# Mail Configuration
|
||||
#
|
||||
# Leave MAIL_DRIVER empty to disable features involving sending emails.
|
||||
#
|
||||
MAIL_DRIVER = smtp
|
||||
MAIL_HOST = null
|
||||
MAIL_PORT = 465
|
||||
MAIL_USERNAME = null
|
||||
MAIL_PASSWORD = null
|
||||
MAIL_ENCRYPTION = ssl
|
||||
|
||||
# Change below lines only if you know what they mean!
|
||||
CACHE_DRIVER = file
|
||||
SESSION_DRIVER = file
|
||||
QUEUE_DRIVER = sync
|
||||
FS_DRIVER = local
|
||||
CACHE_DRIVER = file
|
||||
SESSION_DRIVER = file
|
||||
QUEUE_DRIVER = sync
|
||||
FS_DRIVER = local
|
||||
|
||||
REDIS_HOST = 127.0.0.1
|
||||
REDIS_PASSWORD = null
|
||||
REDIS_PORT = 6379
|
||||
REDIS_HOST = 127.0.0.1
|
||||
REDIS_PASSWORD = null
|
||||
REDIS_PORT = 6379
|
||||
|
||||
PLUGINS_DIR = null
|
||||
PLUGINS_URL = null
|
||||
PLUGINS_DIR = null
|
||||
PLUGINS_URL = null
|
||||
|
54
.env.testing
54
.env.testing
@ -1,36 +1,38 @@
|
||||
###################################
|
||||
# Blessing Skin Server V3 #
|
||||
# Blessing Skin Server v3 #
|
||||
# Testing Configuration #
|
||||
###################################
|
||||
|
||||
APP_DEBUG = true
|
||||
APP_ENV = testing
|
||||
APP_ENV = testing
|
||||
APP_DEBUG = true
|
||||
|
||||
DB_CONNECTION = mysql
|
||||
# Connect to MySQL server via TCP/IP instead of Unix Domain Socket
|
||||
DB_HOST = 127.0.0.1
|
||||
DB_PORT = 3306
|
||||
DB_DATABASE = test
|
||||
DB_USERNAME = root
|
||||
DB_PASSWORD = null
|
||||
DB_PREFIX = null
|
||||
PWD_METHOD = PHP_PASSWORD_HASH
|
||||
DB_CONNECTION = mysql
|
||||
DB_HOST = 127.0.0.1
|
||||
DB_PORT = 3306
|
||||
DB_DATABASE = test
|
||||
DB_USERNAME = root
|
||||
DB_PASSWORD = null
|
||||
DB_PREFIX = null
|
||||
|
||||
SALT = c67709dd8b7b733aca0d570681fe96cf
|
||||
APP_KEY = base64:eVX/xzF5NhpGB2luswliFx9XSBsbbAP21wOi68X/P34=
|
||||
PWD_METHOD = PHP_PASSWORD_HASH
|
||||
SALT = bs893tnok114514tdkr1919yj810snpi
|
||||
APP_KEY = base64:MfnScX0W/ViN8bZtRt0P481rWP3igcOK80QstjbXUxI=
|
||||
|
||||
MAIL_DRIVER = smtp
|
||||
MAIL_HOST = localhost
|
||||
MAIL_PORT = 465
|
||||
MAIL_USERNAME = null
|
||||
MAIL_PASSWORD = null
|
||||
MAIL_DRIVER = smtp
|
||||
MAIL_HOST = localhost
|
||||
MAIL_PORT = 465
|
||||
MAIL_USERNAME = null
|
||||
MAIL_PASSWORD = null
|
||||
MAIL_ENCRYPTION = ssl
|
||||
|
||||
CACHE_DRIVER = array
|
||||
SESSION_DRIVER = array
|
||||
QUEUE_DRIVER = sync
|
||||
FS_DRIVER = memory
|
||||
CACHE_DRIVER = array
|
||||
SESSION_DRIVER = array
|
||||
QUEUE_DRIVER = sync
|
||||
FS_DRIVER = memory
|
||||
|
||||
REDIS_HOST = 127.0.0.1
|
||||
REDIS_PASSWORD = null
|
||||
REDIS_PORT = 6379
|
||||
REDIS_HOST = 127.0.0.1
|
||||
REDIS_PASSWORD = null
|
||||
REDIS_PORT = 6379
|
||||
|
||||
PLUGINS_DIR = null
|
||||
PLUGINS_URL = null
|
||||
|
Loading…
Reference in New Issue
Block a user