2022-04-29 00:09:40 +08:00
|
|
|
################# DOCKER #################
|
|
|
|
|
|
|
|
ADMINER_PORT=10101
|
|
|
|
DB_MYSQL_PORT=10102
|
|
|
|
DB_POSTGRES_PORT=10103
|
|
|
|
VERDACCIO_PORT=10104
|
|
|
|
|
|
|
|
################# NOCOBASE APPLICATION #################
|
|
|
|
|
2022-04-07 08:10:58 +08:00
|
|
|
NOCOBASE_ENV=development
|
2022-04-17 10:00:42 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
2022-04-29 00:09:40 +08:00
|
|
|
JWT_SECRET=09f26e402586e2faa8da4c98a35f1b20d6b033c60
|
2021-12-07 15:21:16 +08:00
|
|
|
|
2022-04-29 00:09:40 +08:00
|
|
|
################# DATABASE #################
|
|
|
|
|
|
|
|
DB_DIALECT=sqlite
|
|
|
|
DB_STORAGE=storage/db/nocobase.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
|
|
|
|
|
2022-04-29 00:09:40 +08:00
|
|
|
################# STORAGE (Initialization only) #################
|
2021-12-07 15:21:16 +08:00
|
|
|
|
|
|
|
# local or ali-oss
|
|
|
|
DEFAULT_STORAGE_TYPE=local
|
|
|
|
|
|
|
|
# LOCAL STORAGE
|
|
|
|
LOCAL_STORAGE_USE_STATIC_SERVER=true
|
|
|
|
LOCAL_STORAGE_BASE_URL=
|
2022-04-29 00:09:40 +08:00
|
|
|
LOCAL_STORAGE_DEST=storage/uploads
|
2021-12-07 15:21:16 +08: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=
|
|
|
|
|
|
|
|
# AWS
|
|
|
|
AWS_ACCESS_KEY_ID=
|
|
|
|
AWS_SECRET_ACCESS_KEY=
|
|
|
|
AWS_S3_REGION=
|
|
|
|
AWS_S3_BUCKET=
|
|
|
|
AWS_S3_STORAGE_BASE_URL=
|