Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

odoo Datatypes

This builds on
to create a set of datatypes we will use to insert and retrieve data
from Postgres.

Using the Image

The Image is available on the docker registry along with a pre-set up
Postgres image:

docker pull snapforbeginners/odoo-datatypes:odoo
docker pull snapforbeginners/odoo-datatypes:postgres

First, bring up the Postgres container with a name:

docker run -it --name odoo-pg snapforbeginners/odoo-datatypes:postgres

Then use that name (odoo-pg) to link the running postgres container
to our application, under the alias "postgres". We'll also expose port
8000, since odoo runs on that port.

docker run -it --link odoo-pg:postgres -p 8000:8000 snapforbeginners/odoo-datatypes:odoo


We can use docker-compose to build and run both containers:

docker-compose build
docker-compose up -d pg
docker-compose up odoo

Building individually:

To build a new image, we need to clone this repository and run docker build.

git clone odoo-datatypes
cd odoo-datatypes
docker build -t odoo-dt .

then we can run it as before:

docker run -it -p 8000:8000 odoo-dt
Docker Pull Command
Source Repository