I have searched through documentation and previous forum posts, it is all unclear. With this post I aim to resolve this.
The docker image available at dockerhub (odoo) is for the community edition. If run, one will not have the enterprise features.
How are the enterprise features activated?
What the documentation and posts seem to say is that one copies the enterprise source code (an extracted tar.gz, named similar to odoo-18.0+e.20250224) into the mounted addons path, and install the web enterprise using the CLI and it would work, but I try to install an Industry and I still miss packages, and don't get prompted about a subscription code.
This is a base, community compose that works:
.pg.env and .env only contain database-related variables
services:
odoo-postgres:
container_name: odoo-postgres
image: postgres:17.2-alpine3.21
restart: unless-stopped
env_file: .pg.env
user: root
# healthcheck:
# test: ["CMD-SHELL", "pg_isready", "-U", "postgres"]
# interval: 5s
# timeout: 60s
# retries: 10
volumes:
- ./pg-data:/var/lib/postgresql/data
odoo:
container_name: odoo
image: odoo:18.0-20250218
restart: unless-stopped
user: root
depends_on:
- odoo-postgres
# condition: service_healthy
tty: true
command: --
env_file: .env
volumes:
# - ./entrypoint.sh:/entrypoint.sh # if you want to install additional Python packages, uncomment this line!
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./addons:/mnt/addons
- ./etc:/etc/odoo