Skip to Content
Menu
This question has been flagged
1 Reply
9746 Views

I installed odoo in a docker, and I need to know about odoo to docker run as a service.

Avatar
Discard
Author Best Answer


ODOO DOCKER

#Mounting Custom Addons with Docker Path
$ docker run -v /path/to/your/local/folder:/mnt/extra-addons -p 8069:8069 --name odoo --link db:db -t odoo
Starting Postgres Server
$ docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:10
Starting ODOO Instance
$ docker run -p 8069:8069 --name odoo --link db:db -t odoo
Start & Stop ODOO Instance
$ sudo docker start db
$ sudo docker start -a odoo

Access DOCKER ODOO Path

$ docker exec -u root -it odoo /bin/bash
Start and Stop Docker service
$ sudo docker stop db
$ sudo docker stop odoo
$ sudo service docker stop
$ sudo service docker start


Avatar
Discard
Related Posts Replies Views Activity
4
May 23
96948
2
Jul 24
942
1
Jun 24
3564
1
Oct 23
8590
1
Oct 23
97