diff --git a/docker-compose.yml b/docker-compose.yml index 6a4b858..c9f2097 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,7 @@ -version: '2' +version: '3.1' services: db: image: postgres:17 - #user: root environment: - POSTGRES_USER=odoo - POSTGRES_PASSWORD=odoo18@2024 diff --git a/etc/odoo.conf b/etc/odoo.conf index 2535225..c316b40 100755 --- a/etc/odoo.conf +++ b/etc/odoo.conf @@ -59,6 +59,39 @@ data_dir = /etc/odoo admin_passwd = minhng.info +; ========================== +; | Database Configuration | +; ========================== +; ------ +; -d / --database | specify the database name +; ------ +; db_name = + +; ------ +; -r / --db-user | specify the database user name +; ------ +db_user = odoo + +; ------ +; -w / --db-password | specify the database password +; ------ +db_password = odoo18@2024 + +; ------ +; --db-host | specify the database host +; ------ +db_host = db + +; ------ +; --db-port | specify the database port +; ------ +db_port = 5432 + +; ------ +; --db-sslmode | specify the database ssl mode [allow|prefer|require|disable] +; ------ +db_sslmode = prefer + ; ============================== ; | HTTP Service Configuration | ; ==============================