2021-04-07 19:36:09 +08:00
|
|
|
########## DOCKER COMPOSE ENV ##########
|
|
|
|
|
|
|
|
DB_MYSQL_PORT=3306
|
|
|
|
DB_POSTGRES_PORT=5432
|
|
|
|
API_PORT=23000
|
|
|
|
VERDACCIO_PORT=4873
|
|
|
|
|
|
|
|
########## NOCOBASE ENV ##########
|
|
|
|
|
|
|
|
# DATABASE
|
|
|
|
|
|
|
|
DB_DIALECT=postgres
|
|
|
|
DB_HOST=localhost
|
|
|
|
DB_PORT=5432
|
|
|
|
DB_DATABASE=nocobase
|
|
|
|
DB_USER=nocobase
|
|
|
|
DB_PASSWORD=nocobase
|
|
|
|
# set to 'on' to enable log
|
|
|
|
DB_LOG_SQL=
|
|
|
|
|
|
|
|
# API & APP
|
|
|
|
|
|
|
|
NOCOBASE_ENV=
|
|
|
|
API_PORT=23000
|
|
|
|
APP_USE_STATIC_SERVER=true
|
2021-04-17 21:33:21 +08:00
|
|
|
APP_DIST=node_modules/@nocobase/app/dist
|
2021-04-07 19:36:09 +08:00
|
|
|
|
|
|
|
# ADMIN USER (Initialization only)
|
|
|
|
|
|
|
|
ADMIN_EMAIL=admin@nocobase.com
|
|
|
|
ADMIN_PASSWORD=admin
|
|
|
|
|
|
|
|
# STORAGE (Initialization only)
|
|
|
|
|
2021-12-04 07:58:31 +08:00
|
|
|
# local or ali-oss or s3
|
|
|
|
DEFAULT_STORAGE_TYPE=local
|
2021-04-07 19:36:09 +08:00
|
|
|
|
|
|
|
# LOCAL STORAGE
|
|
|
|
LOCAL_STORAGE_USE_STATIC_SERVER=true
|
|
|
|
LOCAL_STORAGE_BASE_URL=http://localhost:23000
|
|
|
|
|
|
|
|
# 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=
|
2021-12-04 07:58:31 +08:00
|
|
|
|
|
|
|
# AWS
|
|
|
|
AWS_ACCESS_KEY_ID=
|
|
|
|
AWS_SECRET_ACCESS_KEY=
|
|
|
|
AWS_S3_REGION=
|
|
|
|
AWS_S3_BUCKET=
|
|
|
|
AWS_S3_STORAGE_BASE_URL=
|