mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-11-30 11:18:36 +08:00
60b966f59e
* fix: test cases * fix env used by file manager * default value of process.env.LOCAL_STORAGE_BASE_URL * use workspace dependencies * refactor some env to adapt more scenario * fix reviewing issues * fix env default value * update umi config * bugfix * fix shared cache Co-authored-by: chenos <chenlinxh@gmail.com>
66 lines
1.1 KiB
Plaintext
66 lines
1.1 KiB
Plaintext
########## DOCKER COMPOSE ENV ##########
|
|
|
|
ADMINER_PORT=8080
|
|
DB_MYSQL_PORT=3306
|
|
DB_POSTGRES_PORT=5432
|
|
VERDACCIO_PORT=4873
|
|
|
|
APP_PORT=13001
|
|
|
|
########## NOCOBASE ENV ##########
|
|
|
|
# DATABASE
|
|
|
|
DB_DIALECT=sqlite
|
|
DB_STORAGE=db.sqlite
|
|
|
|
# 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=13002
|
|
|
|
# api base path endpoint for app(web)
|
|
API_BASE_PATH=/api/
|
|
|
|
# api server access point for app(web when build)
|
|
API_BASE_URL=
|
|
|
|
# api server access point will be proxied from app(umi dev)
|
|
PROXY_TARGET_URL=
|
|
|
|
# app(web) assets
|
|
APP_DIST=packages/app/dist
|
|
|
|
# ADMIN USER (Initialization only)
|
|
|
|
ADMIN_EMAIL=admin@nocobase.com
|
|
ADMIN_PASSWORD=admin123
|
|
|
|
# STORAGE (Initialization only)
|
|
|
|
# local or ali-oss
|
|
STORAGE_TYPE=local
|
|
|
|
# LOCAL STORAGE
|
|
LOCAL_STORAGE_USE_STATIC_SERVER=true
|
|
LOCAL_STORAGE_BASE_URL=/uploads # same origin
|
|
# LOCAL_STORAGE_BASE_URL=http://your.cdn.domain/pathname # cdn or other origin driven
|
|
|
|
# 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=
|