Odoo17 Rust 第三篇 config.toml

[database]
db_name = "odoo17"
db_host = "127.0.0.1"
db_port = "5432"
db_user = "odoo"
db_password = "123456"
max_connections = 10000 #最大连接数

[options]
odoo_version = "a17"
load_language = "zh_CN"
pg_path = "/Library/PostgreSQL/16/bin"
admin_passwd = "xodoo"

[web]
# 配置跨域的 有问题现在
cros = "http://127.0.0.1:5173"
address = "127.0.0.1:8000"

[timer]
cron = "0 0 23 * * *"

[default]
address = "127.0.0.1"
port = 8000
workers = 16
max_blocking = 512
keep_alive = 5
ident = "Rocket"
ip_header = "X-Real-IP" # set to `false` to disable
log_level = "normal"
temp_dir = "/opt/tmp"
cli_colors = true

加入QQ群

猜你喜欢

转载自blog.csdn.net/qq_70140795/article/details/139774545