2021-04-07 09:10:52 +00:00
|
|
|
########## DOCKER COMPOSE ENV ##########
|
|
|
|
|
2021-10-10 04:16:28 +00:00
|
|
|
ADMINER_PORT=8080
|
2021-04-07 09:10:52 +00:00
|
|
|
DB_MYSQL_PORT=3306
|
|
|
|
DB_POSTGRES_PORT=5432
|
|
|
|
VERDACCIO_PORT=4873
|
2021-12-02 23:31:22 +00:00
|
|
|
|
2021-10-29 05:04:44 +00:00
|
|
|
APP_PORT=13001
|
2021-04-07 09:10:52 +00:00
|
|
|
|
|
|
|
########## NOCOBASE ENV ##########
|
|
|
|
|
|
|
|
# DATABASE
|
|
|
|
|
2021-10-29 05:04:44 +00:00
|
|
|
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
|
|
|
|
|
2020-11-18 02:35:37 +00:00
|
|
|
# set to 'on' to enable log
|
|
|
|
DB_LOG_SQL=
|
|
|
|
|
2021-04-07 09:10:52 +00:00
|
|
|
# API & APP
|
2020-11-11 07:23:39 +00:00
|
|
|
|
2021-04-07 09:10:52 +00:00
|
|
|
NOCOBASE_ENV=
|
2021-12-02 23:31:22 +00:00
|
|
|
|
|
|
|
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
|
2021-04-07 09:10:52 +00:00
|
|
|
APP_DIST=packages/app/dist
|
2020-11-11 07:23:39 +00:00
|
|
|
|
2021-04-07 09:10:52 +00:00
|
|
|
# ADMIN USER (Initialization only)
|
|
|
|
|
|
|
|
ADMIN_EMAIL=admin@nocobase.com
|
2021-11-01 07:20:11 +00:00
|
|
|
ADMIN_PASSWORD=admin123
|
2021-04-07 09:10:52 +00:00
|
|
|
|
|
|
|
# STORAGE (Initialization only)
|
|
|
|
|
|
|
|
# local or ali-oss
|
|
|
|
STORAGE_TYPE=local
|
2020-12-23 04:46:13 +00:00
|
|
|
|
2021-04-07 09:10:52 +00:00
|
|
|
# LOCAL STORAGE
|
|
|
|
LOCAL_STORAGE_USE_STATIC_SERVER=true
|
2021-12-02 23:31:22 +00:00
|
|
|
LOCAL_STORAGE_BASE_URL=/uploads # same origin
|
|
|
|
# LOCAL_STORAGE_BASE_URL=http://your.cdn.domain/pathname # cdn or other origin driven
|
2020-12-31 04:11:38 +00:00
|
|
|
|
2021-04-07 09:10:52 +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=
|