Skip to content
No description or website provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hooks
.dockerignore
.travis.yml
10.0.Dockerfile
12.0.Dockerfile
LICENSE
README.md
entrypoint.sh
odoo.conf

README.md

Basic Odoo docker including OCB 10.0/12.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 (< 400 MB), including Odoo 10.0 or 12.0 from OCA/OCB, and also a few addons from OCA.

In order to reduce as much as possible the size of the Docker, only French translations are kept and .git directories are removed.

The following OCA addons are included (in v10.0, and only the ones followed by * for v12.0 since not (yet) available):

  - repo: account-financial-reporting
    modules:
     - account_tax_balance *
  - repo: bank-statement-import
    modules:
     - account_bank_statement_import_ofx *
     - account_bank_statement_import_qif
  - repo: knowledge
    modules:
     - document_page *
     - knowledge *
  - repo: partner-contact
    modules:
     - partner_firstname *
     - partner_disable_gravatar *
  - repo: server-auth (only in v12)
    modules:
     - password_security
  - repo: server-tools
    modules:
     - date_range (moved to server-ux in v12)
     - auth_session_timeout
     - auth_brute_force
     - password_security (moved to server-auth in v12)
  - repo: server-brand (only in v12)
    modules:
     - disable_odoo_online
  - repo: server-ux (only in v12)
    modules:
     - date_range (was in server-tools in v10)
  - repo: social
    modules:
     - mail_debrand *
     - mail_restrict_follower_selection
  - repo: web
    modules:
     - web_environment_ribbon *
     - web_export_view *
     - web_responsive *
     - web_timeline *

Usage

This docker is automatically built on DockerHub and can be pulled by executing the following command:

docker pull remifilament/odoo:10.0
docker pull remifilament/odoo:12.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:12.0
        container_name: odoo12
        depends_on:
            - db
        tty: true
        volumes:
            - filestore:/opt/odoo/data:z
        restart: unless-stopped
        command:
            - odoo

    db:
        image: postgres:10-alpine
        container_name: odoo12_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

  • Remi Cazenave

Maintainer

This role is maintained by Le Filament

You can’t perform that action at this time.