2022-04-07 08:10:58 +08:00
|
|
|
NOCOBASE_ENV=development
|
2022-04-17 10:00:42 +08:00
|
|
|
JWT_SECRET=09f26e402586e2faa8da4c98a35f1b20d6b033c60
|
|
|
|
|
|
|
|
SERVER_PORT=3000
|
2022-04-07 08:10:58 +08:00
|
|
|
|
|
|
|
# api base path endpoint for app(web)
|
2022-04-17 10:00:42 +08:00
|
|
|
SERVER_BASE_PATH=/api/
|
2022-04-07 08:10:58 +08:00
|
|
|
|
|
|
|
# api server access point for app(web when build)
|
2022-04-17 10:00:42 +08:00
|
|
|
SERVER_BASE_URL=
|
2022-04-07 08:10:58 +08:00
|
|
|
|
2021-12-07 15:21:16 +08:00
|
|
|
DB_DIALECT=sqlite
|
|
|
|
|
2022-04-07 08:10:58 +08:00
|
|
|
# DB_HOST=localhost
|
|
|
|
# DB_PORT=5432
|
|
|
|
# DB_DATABASE=postgres
|
|
|
|
# DB_USER=nocobase
|
|
|
|
# DB_PASSWORD=nocobase
|
|
|
|
# DB_LOG_SQL=on
|
|
|
|
|
2021-12-07 15:21:16 +08:00
|
|
|
# STORAGE (Initialization only)
|
|
|
|
|
|
|
|
# local or ali-oss
|
|
|
|
DEFAULT_STORAGE_TYPE=local
|
|
|
|
STORAGE_TYPE=local
|
|
|
|
|
|
|
|
# LOCAL STORAGE
|
|
|
|
LOCAL_STORAGE_USE_STATIC_SERVER=true
|
|
|
|
LOCAL_STORAGE_BASE_URL=
|
|
|
|
|
|
|
|
# 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=
|