Installing Odoo 19 on Docker
- odoo19 @
localhost:10019(default master password:odoo.dev): - odoo19-postgres @
localhost:5432(usernameodoo: password:odoo19@2025): - odoo19-pgadmin @
localhost:5050(username[email protected]: password:admin):
Start the container:
docker-compose upThen open localhost:10019 to access Odoo 19.0
Run Odoo container in detached mode (be able to close terminal without stopping Odoo):
docker-compose up -d
If you get the permission issue, change the folder permission to access the directory:
$ git clone https://github.com/STP5940/odoo-19-docker-compose
$ sudo chmod -R 777 addons
$ sudo chmod -R 777 etc
$ mkdir -p postgresql
$ sudo chmod -R 777 postgresqlThe addons/ folder contains custom addons. Just put your custom addons if you have any.
- To change Odoo configuration, edit file: etc/odoo.conf.
- Log file: etc/odoo-server.log
- Default database password (admin_passwd) is
odoo.dev - Please change password it @ etc/odoo.conf#L60
Run Odoo:
docker-compose up -dRestart Odoo:
docker-compose restartStop Odoo:
docker-compose downIn docker-compose.yml#L25, we exposed port 20019 for live-chat on host.
Configuring nginx to activate live chat feature (in production):
#...
server {
#...
location /longpolling/ {
proxy_pass http://0.0.0.0:20019/longpolling/;
}
#...
}
#...
- odoo: 19.0
- postgres: 18
- pgadmin4: 9.8