Sign inSign up

lefilament/odoo

By lefilament

Updated almost 2 years ago

Docker for Odoo

Image
Web servers
0

10K+

lefilament/odoo repository overview

Basic Odoo docker including OCB 10.0/12.0/14.0/15.0/16.0/17.0/18.0 and some of OCA repos/addons

Description

This Docker is inspired from the ones from Odoo, Tecnativa and Elico Corporation.

It creates a functional Odoo Docker of limited size, including Odoo 10.0 or 12.0 or 14.0 or 15.0 or 16.0 or 17.0 or 18.0 from OCA/OCB, and also a few addons from OCA + addons from Le Filament (https://sources.le-filament.com/lefilament).

In order to reduce as much as possible the size of the Docker, only French translations are kept and .git directories are removed. For people needing other languages than English or French, a 12.0_ml image is also provided (only for v12.0 though).

The following Python versions are used :

  • Odoo 10.0 : Python 2.7
  • Odoo 12.0 : Python 3.5.3
  • Odoo 14.0 : Python 3.9
  • Odoo 15.0 : Python 3.10
  • Odoo 16.0 : Python 3.11
  • Odoo 17.0 : Python 3.12
  • Odoo 18.0 : Python 3.12

Also a specific Python 3.6 version for Odoo v12.0 is generated with tag 12.0_py3.6

Usage

This docker is automatically built from GitLab repo and can be pulled by executing the following command:

docker pull lefilament/odoo:10.0
docker pull lefilament/odoo:12.0
docker pull lefilament/odoo:12.0_ml
docker pull lefilament/odoo:12.0_py3.6
docker pull lefilament/odoo:14.0
docker pull lefilament/odoo:15.0
docker pull lefilament/odoo:16.0
docker pull lefilament/odoo:17.0
docker pull lefilament/odoo:18.0

It can also serve as base for deployments as described in this Ansible role

docker-compose example is provided below:

version: "2.1"
services:
    odoo:
        image: lefilament/odoo:16.0
        container_name: odoo16
        depends_on:
            - db
        tty: true
        volumes:
            - filestore:/opt/odoo/data:z
        restart: unless-stopped
        command:
            - odoo

    db:
        image: postgres:15-alpine
        container_name: odoo16_db
        environment:
            POSTGRES_USER: "odoo"
            POSTGRES_PASSWORD: "odoo"
        volumes:
            - db:/var/lib/postgresql/data:z
        restart: unless-stopped

networks:
    default:
        driver_opts:
            encrypted: 1

volumes:
    filestore:
    db:

Credits

Contributors

Maintainer

This role is maintained by Le Filament

Tag summary

Content type

Image

Digest

sha256:f8b1654de

Size

432.7 MB

Last updated

almost 2 years ago

docker pull lefilament/odoo:16.0