2022-04-28 16:09:40 +00:00
|
|
|
################# DOCKER #################
|
|
|
|
|
|
|
|
ADMINER_PORT=10101
|
|
|
|
DB_MYSQL_PORT=10102
|
|
|
|
DB_POSTGRES_PORT=10103
|
|
|
|
VERDACCIO_PORT=10104
|
2022-10-24 02:21:25 +00:00
|
|
|
# VERDACCIO_URL=http://host.docker.internal:10104/
|
2022-04-28 16:09:40 +00:00
|
|
|
|
|
|
|
################# NOCOBASE APPLICATION #################
|
|
|
|
|
2022-12-14 04:50:54 +00:00
|
|
|
# !!! When `APP_ENV=production`, opening http://localhost:13000/ will show "Not Found".
|
|
|
|
# !!! It is recommended to use nginx to proxy static files. For example https://github.com/nocobase/nocobase/blob/main/docker/nocobase/nocobase.conf
|
2022-05-18 16:40:55 +00:00
|
|
|
APP_ENV=development
|
|
|
|
APP_PORT=13000
|
|
|
|
APP_KEY=test-key
|
2022-04-17 02:00:42 +00:00
|
|
|
|
2022-05-18 16:40:55 +00:00
|
|
|
API_BASE_PATH=/api/
|
|
|
|
API_BASE_URL=
|
2022-04-07 00:10:58 +00:00
|
|
|
|
2022-05-18 16:40:55 +00:00
|
|
|
PROXY_TARGET_URL=
|
2021-12-07 07:21:16 +00:00
|
|
|
|
2023-04-10 13:00:29 +00:00
|
|
|
LOGGER_TRANSPORT=
|
|
|
|
LOGGER_LEVEL=
|
|
|
|
LOGGER_BASE_PATH=storage/logs
|
|
|
|
|
2022-04-28 16:09:40 +00:00
|
|
|
################# DATABASE #################
|
|
|
|
|
|
|
|
DB_DIALECT=sqlite
|
|
|
|
DB_STORAGE=storage/db/nocobase.sqlite
|
2023-02-22 04:05:59 +00:00
|
|
|
DB_TABLE_PREFIX=
|
2022-04-07 00:10:58 +00:00
|
|
|
# DB_HOST=localhost
|
|
|
|
# DB_PORT=5432
|
|
|
|
# DB_DATABASE=postgres
|
|
|
|
# DB_USER=nocobase
|
|
|
|
# DB_PASSWORD=nocobase
|
2022-05-18 16:40:55 +00:00
|
|
|
# DB_LOGGING=on
|
2023-03-04 23:15:45 +00:00
|
|
|
# DB_UNDERSCORED=false
|
2022-04-07 00:10:58 +00:00
|
|
|
|
2023-09-11 02:55:47 +00:00
|
|
|
#== SSL CONFIG ==#
|
|
|
|
# DB_DIALECT_OPTIONS_SSL_CA=
|
|
|
|
# DB_DIALECT_OPTIONS_SSL_KEY=
|
|
|
|
# DB_DIALECT_OPTIONS_SSL_CERT=
|
|
|
|
# DB_DIALECT_OPTIONS_SSL_REJECT_UNAUTHORIZED=true
|
|
|
|
|
2022-10-10 07:37:47 +00:00
|
|
|
################# CACHE #################
|
2023-11-20 09:14:20 +00:00
|
|
|
CACHE_DEFAULT_STORE=memory
|
|
|
|
# max number of items in memory cache
|
|
|
|
CACHE_MEMORY_MAX=2000
|
|
|
|
# CACHE_REDIS_URL=
|
2022-10-10 07:37:47 +00:00
|
|
|
|
2022-04-28 16:09:40 +00:00
|
|
|
################# STORAGE (Initialization only) #################
|
2021-12-07 07:21:16 +00:00
|
|
|
|
2022-05-18 16:40:55 +00:00
|
|
|
INIT_ROOT_EMAIL=admin@nocobase.com
|
|
|
|
INIT_ROOT_PASSWORD=admin123
|
|
|
|
INIT_ROOT_NICKNAME=Super Admin
|
2023-08-19 14:02:26 +00:00
|
|
|
INIT_ROOT_USERNAME=nocobase
|
2022-05-18 16:40:55 +00:00
|
|
|
|
2021-12-07 07:21:16 +00:00
|
|
|
# local or ali-oss
|
|
|
|
DEFAULT_STORAGE_TYPE=local
|
|
|
|
|
|
|
|
# LOCAL STORAGE
|
2023-08-24 09:47:45 +00:00
|
|
|
LOCAL_STORAGE_BASE_URL=/storage/uploads
|
2022-04-28 16:09:40 +00:00
|
|
|
LOCAL_STORAGE_DEST=storage/uploads
|
2021-12-07 07:21:16 +00:00
|
|
|
|
|
|
|
# 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=
|
|
|
|
|
2022-10-25 16:02:30 +00:00
|
|
|
# Tencent COS STORAGE
|
|
|
|
TX_COS_STORAGE_BASE_URL=
|
|
|
|
TX_COS_REGION=ap-guangzhou
|
|
|
|
TX_COS_SECRET_ID=
|
|
|
|
TX_COS_SECRET_KEY=
|
|
|
|
TX_COS_BUCKET=
|
|
|
|
|
2021-12-07 07:21:16 +00:00
|
|
|
# AWS
|
|
|
|
AWS_ACCESS_KEY_ID=
|
|
|
|
AWS_SECRET_ACCESS_KEY=
|
|
|
|
AWS_S3_REGION=
|
|
|
|
AWS_S3_BUCKET=
|
|
|
|
AWS_S3_STORAGE_BASE_URL=
|
2022-08-20 10:06:12 +00:00
|
|
|
|
|
|
|
# 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=
|
2023-02-09 09:04:32 +00:00
|
|
|
|
|
|
|
# in nodejs 17+ that SSL v3 causes some ecosystem libraries to become incompatible. Configuring this option can prevent upgrading SSL V3
|
|
|
|
# NODE_OPTIONS=--openssl-legacy-provider
|