Skip to content

create dockerfile from source code for odoo master branch on Mac M1

License

Notifications You must be signed in to change notification settings

glovebx/odoo-master-docker

Repository files navigation

odoo-master-docker

create dockerfile from source code for odoo master(v18 for now) branch on Mac M1

1、Install Docker
2、Clone this repository to local
3、Clone odoo master branch to [odoo] folder under project folder
  odoo-master-docker--|
            odoo--|
               addons
               odoo-bin
               setup.py
               setup.cfg
               ...
            --|
             Dockerfile
             entrypoint.sh
             odoo.conf
             wait-for-psql.py
             psycopg2
4、Open project folder with Visual Studio Code, install docker extension if necessary
5、Build odoo image named [odoo18]
6、Pull postgres image and run
  docker run -d -p 5432:5432 -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:13
7、Run odoo image
  docker run -p 8069:8069 --name odoo18 --link db:db -t odoo18
8、Open http://localhost:8069 with browser

About

create dockerfile from source code for odoo master branch on Mac M1

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published