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. For people needing other languages than English or French, a 12.0_ml image is also provided.
The following OCA addons are included (in v12.0):
- repo: account-financial-reporting
modules:
- account_tax_balance
- repo: account-financial-tools
modules:
- account_lock_date_update
- repo: account-invoicing
modules:
- sale_timesheet_invoice_description
- repo: bank-statement-import
modules:
- account_bank_statement_import_ofx
- repo: knowledge
modules:
- document_page
- knowledge
- repo: partner-contact
modules:
- partner_disable_gravatar
- partner_firstname
- repo: project
modules:
- project_category
- project_status
- project_task_default_stage
- project_template
- project_timeline
- repo: sale-workflow
modules:
- partner_contact_sale_info_propagation
- partner_prospect
- repo: server-auth
modules:
- auth_session_timeout
- password_security
- repo: server-brand
modules:
- disable_odoo_online
- remove_odoo_enterprise
- repo: server-ux
modules:
- base_technical_features
- date_range
- mass_editing
- repo: social
modules:
- base_search_mail_content
- mail_debrand
- 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 lefilament/odoo:10.0
docker pull lefilament/odoo:12.0
docker pull lefilament/odoo:12.0_ml
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