Junari Odoo Image for Development and Production
2.5K
GitHub: https://github.com/junariltd/junari-odoo-docker
Junari Open Source Docker image for Odoo Development and Production
/opt/odoo/opt/odoo/custom_addonsodoo-config script for modifying the odoo config file in derrived imagesjunari/odoo imageThis image requires the following environment variables.
DB_HOST - Postgres Database server address. Set to host.docker.internal to use your local machine.DB_PORT - Postgres Database server port. Normally 5432DB_USER - Odoo database user. This must NOT be your PostgreSQL super user (postgres)DB_PASSWORD - Odoo database user password.We recommend creating an odoo.env file to store your database configuration. Check out
odoo.env-example
for an example.
The following example walks you through creating a new Odoo database using this image:
In a new folder, create an odoo.env file, as above
Create a blank PostgreSQL database owned by your Odoo database user, e.g.
CREATE DATABASE odoo13 OWNER odoo ENCODING UTF8;
docker run --rm -it \
-v junari-odoo-data:/opt/odoo/data \
-p 8069:8069 \
--env-file=odoo.env \
junari/odoo \
odoo -d odoo13 -i base --without-demo=all --load-language=en_GB --stop-after-init
(where odoo13 is the new database name)
start-odoo.sh script, which you can run instead of typing it out!docker run --rm -it \
-v junari-odoo-data:/opt/odoo/data \
-p 8069:8069 \
--env-file=odoo.env \
junari/odoo odoo -d odoo13
Your Odoo system should now be accessible at http://localhost:8069 . You can log in using the default user: admin, password: admin
Content type
Image
Digest
sha256:a6ceae92a…
Size
782.1 MB
Last updated
over 1 year ago
docker pull junari/odoo:18.0-20250106-