mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:38:51 +00:00
7e6a394f73
* feat(plugin-verification): add plugin-verification and phone for users * feat(plugin-verification): add env example * fix(plugin-verification): fix locales * fix(plugin-verification): remove sending comment * fix(plugin-verification): fix i18n * refactor(plugin-verification): move invalid error message to action * fix(plugin-verification): add field migration * chore(plugin-verification): update packages version * test(plugin-verification): temp remove new package dependency * refactor(plugin-verification): make sms authentication configurable in system settings * fix: smsAuthEnabled * feat: update preset-nocobase Co-authored-by: chenos <chenlinxh@gmail.com>
66 lines
1.3 KiB
Plaintext
66 lines
1.3 KiB
Plaintext
################# DOCKER #################
|
|
|
|
ADMINER_PORT=10101
|
|
DB_MYSQL_PORT=10102
|
|
DB_POSTGRES_PORT=10103
|
|
VERDACCIO_PORT=10104
|
|
|
|
################# NOCOBASE APPLICATION #################
|
|
|
|
APP_ENV=development
|
|
APP_PORT=13000
|
|
APP_KEY=test-key
|
|
|
|
API_BASE_PATH=/api/
|
|
API_BASE_URL=
|
|
|
|
PROXY_TARGET_URL=
|
|
|
|
################# DATABASE #################
|
|
|
|
DB_DIALECT=sqlite
|
|
DB_STORAGE=storage/db/nocobase.sqlite
|
|
# DB_HOST=localhost
|
|
# DB_PORT=5432
|
|
# DB_DATABASE=postgres
|
|
# DB_USER=nocobase
|
|
# DB_PASSWORD=nocobase
|
|
# DB_LOGGING=on
|
|
|
|
################# STORAGE (Initialization only) #################
|
|
|
|
INIT_ROOT_EMAIL=admin@nocobase.com
|
|
INIT_ROOT_PASSWORD=admin123
|
|
INIT_ROOT_NICKNAME=Super Admin
|
|
|
|
# local or ali-oss
|
|
DEFAULT_STORAGE_TYPE=local
|
|
|
|
# LOCAL STORAGE
|
|
LOCAL_STORAGE_BASE_URL=
|
|
LOCAL_STORAGE_DEST=storage/uploads
|
|
|
|
# ALI OSS STORAGE
|
|
ALI_OSS_STORAGE_BASE_URL=
|
|
ALI_OSS_REGION=oss-cn-beijing
|
|
ALI_OSS_ACCESS_KEY_ID=
|
|
ALI_OSS_ACCESS_KEY_SECRET=
|
|
ALI_OSS_BUCKET=
|
|
|
|
# AWS
|
|
AWS_ACCESS_KEY_ID=
|
|
AWS_SECRET_ACCESS_KEY=
|
|
AWS_S3_REGION=
|
|
AWS_S3_BUCKET=
|
|
AWS_S3_STORAGE_BASE_URL=
|
|
|
|
# ALI SMS VERIFY CODE CONFIG
|
|
INIT_ALI_SMS_ACCESS_KEY=
|
|
INIT_ALI_SMS_ACCESS_KEY_SECRET=
|
|
INIT_ALI_SMS_ENDPOINT=
|
|
INIT_ALI_SMS_VERIFY_CODE_TEMPLATE=
|
|
INIT_ALI_SMS_VERIFY_CODE_SIGN=
|
|
|
|
# use any string name (no space)
|
|
DEFAULT_SMS_VERIFY_CODE_PROVIDER=
|