Newer
Older
# Basic Odoo docker including OCB 10.0/12.0 and some of OCA repos/addons
[](https://microbadger.com/images/lefilament/odoo:10.0 "Get your own image badge on microbadger.com")
[](https://microbadger.com/images/lefilament/odoo:10.0 "Get your own version badge on microbadger.com")
[](https://microbadger.com/images/lefilament/odoo:10.0 "Get your own license badge on microbadger.com")
[](https://microbadger.com/images/lefilament/odoo:10.0 "Get your own commit badge on microbadger.com")
[](https://microbadger.com/images/lefilament/odoo:12.0 "Get your own image badge on microbadger.com")
[](https://microbadger.com/images/lefilament/odoo:12.0 "Get your own version badge on microbadger.com")
[](https://microbadger.com/images/lefilament/odoo:12.0 "Get your own license badge on microbadger.com")
[](https://microbadger.com/images/lefilament/odoo:12.0 "Get your own commit badge on microbadger.com")
This Docker is inspired from the ones from [Odoo](https://github.com/odoo/docker), [Tecnativa](https://github.com/Tecnativa/doodba) and [Elico Corporation](https://github.com/Elico-Corp/odoo-docker).
It creates a functional Odoo Docker of limited size (< 400 MB), including Odoo 10.0 or 12.0 from [OCA/OCB](https://github.com/oca/ocb), and also a few addons from [OCA](https://github.com/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):
```yaml
- repo: account-financial-reporting
modules:
- account_tax_balance *
- account_bank_statement_import_qif
- repo: knowledge
modules:
- partner_firstname *
- repo: server-auth (only in v12, modules were in server-tools in v10)
- auth_session_timeout (moved to server-auth in v12)
- 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)
- mail_restrict_follower_selection
- repo: web
modules:
This docker is automatically built on [DockerHub](https://hub.docker.com/r/lefilament/odoo) and can be pulled by executing the following command:
docker pull remifilament/odoo:12.0
It can also serve as base for deployments as described in this [Ansible role](https://github.com/lefilament/ansible_role_odoo_docker)
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
docker-compose example is provided below:
```yaml
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:
```