odoo开发笔记 -- 应用服务器&数据库服务器分开部署
app+db在一台服务器:
odoo.conf配置文件:
db_host = False
db_maxconn = 64
db_name = False
db_password = 123456
db_port = False
db_template = template1
db_user = odoo
app+db在不同服务器:
odoo.conf配置文件:
db_host = 192.168.1.222
db_maxconn = 64
db_name = test # 数据库名
db_password = 123456
db_port = 5432
db_template = template1
db_user = odoo