sealday
9ffd94155a
Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#1365
65 lines
1.7 KiB
Plaintext
65 lines
1.7 KiB
Plaintext
################# DOCKER #################
|
|
|
|
ADMINER_PORT=10101
|
|
DB_MYSQL_PORT=10102
|
|
DB_POSTGRES_PORT=10103
|
|
VERDACCIO_PORT=10104
|
|
# VERDACCIO_URL=http://host.docker.internal:10104/
|
|
|
|
################# TACHYBASE APPLICATION #################
|
|
|
|
# !!! When `APP_ENV=production`, opening http://localhost:13000/ will show "Not Found".
|
|
# !!! It is recommended to use nginx to proxy static files. For example https://github.com/tachybase/tachybase/blob/main/docker/tachybase/tachybase.conf
|
|
APP_ENV=development
|
|
APP_PORT=13000
|
|
APP_KEY=test-key
|
|
|
|
EXTENSION_UI_BASE_PATH=/adapters/
|
|
API_BASE_PATH=/api/
|
|
API_BASE_URL=
|
|
|
|
# console | file | dailyRotateFile
|
|
LOGGER_TRANSPORT=
|
|
LOGGER_BASE_PATH=storage/logs
|
|
# error | warn | info | debug
|
|
LOGGER_LEVEL=
|
|
# If LOGGER_TRANSPORT is dailyRotateFile and using days, add 'd' as the suffix.
|
|
LOGGER_MAX_FILES=
|
|
# add 'k', 'm', 'g' as the suffix.
|
|
LOGGER_MAX_SIZE=
|
|
# json | splitter, split by '|' character
|
|
LOGGER_FORMAT=
|
|
|
|
################# DATABASE #################
|
|
|
|
DB_DIALECT=sqlite
|
|
DB_STORAGE=storage/db/tachybase.sqlite
|
|
DB_TABLE_PREFIX=
|
|
# DB_HOST=localhost
|
|
# DB_PORT=5432
|
|
# DB_DATABASE=postgres
|
|
# DB_USER=tachybase
|
|
# DB_PASSWORD=tachybase
|
|
# DB_LOGGING=on
|
|
# DB_UNDERSCORED=false
|
|
|
|
#== SSL CONFIG ==#
|
|
# DB_DIALECT_OPTIONS_SSL_CA=
|
|
# DB_DIALECT_OPTIONS_SSL_KEY=
|
|
# DB_DIALECT_OPTIONS_SSL_CERT=
|
|
# DB_DIALECT_OPTIONS_SSL_REJECT_UNAUTHORIZED=true
|
|
|
|
################# CACHE #################
|
|
CACHE_DEFAULT_STORE=memory
|
|
# max number of items in memory cache
|
|
CACHE_MEMORY_MAX=2000
|
|
# CACHE_REDIS_URL=
|
|
|
|
################# STORAGE (Initialization only) #################
|
|
|
|
INIT_LANG=en-US
|
|
INIT_ROOT_EMAIL=admin@tachybase.com
|
|
INIT_ROOT_PASSWORD=!Admin123.
|
|
INIT_ROOT_NICKNAME=Super Admin
|
|
INIT_ROOT_USERNAME=tachybase
|