docker-webman-jsonrpc/.env.example

54 lines
986 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 开启DEBUG时客户端会看到详细的异常信息
DEBUG = true
# 主服务配置
SERVER_NAME = webman-jsonrpc
SERVER_LISTEN = http://0.0.0.0:7878
SERVER_COUNT = cpu_count()
MAX_PACKAGE_SIZE = 1024*1024*5
# monitor进程
MONITOR_ENABLED = false
# jsonrpc客户端配置
DEFAULT_RPC_SERVER = tcp://127.0.0.1:8022
USER_RPC_SERVER = tcp://127.0.0.1:8022
# jsonrcp服务配置
JSONRPC_ENABLED = true
JSONRPC_SERVER_NAME = jsonrpc
JSONRPC_SERVER_LISTEN = JsonNL://0.0.0.0:8022
JSONRPC_SERVER_COUNT = cpu_count()
# REDIS配置
REDIS_HOST = 127.0.0.1
REDIS_PORT = 6379
REDIS_PASSWORD =
REDIS_DATABASE = 0
# 数据库
DB_DEFAULT_DRIVER = pgsql
# mysql
MYSQL_HOST = 127.0.0.1
MYSQL_PORT = 3306
MYSQL_USERNAME =
MYSQL_PASSWORD =
MYSQL_DATABASE =
# pgsql
PG_HOST = 127.0.0.1
PG_PORT = 5432
PG_USERNAME =
PG_PASSWORD =
PG_DATABASE =
PG_SCHEMA = default
# sqlite
SQLITE_DATABASE = "base_path() . '/database.sqlite'"
SQLITE_PREFIX =
# log
LOG_MAX_FIlES = 30
LOG_MAX_FILES_DEBUG = 3