This commit is contained in:
mtpc4s9 2025-11-18 23:30:50 +07:00
parent 416f7cfea0
commit 2a95e71a39
2 changed files with 34 additions and 2 deletions

View File

@ -1,8 +1,7 @@
version: '2'
version: '3.1'
services:
db:
image: postgres:17
#user: root
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo18@2024

View File

@ -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 |
; ==============================