Skip to content

.env File

Auto-generated per environment at {project}/{environment}/.env. Manages runtime configuration injected into Docker containers.

Key Variables

Variable Source Description
COMPOSE_PROJECT_NAME project + env hash Unique Docker Compose project name
ODOO_IMAGE ServerModel Docker image tag
HOST_PORT ServerModel Host port mapping
ADMIN_PASSWORD ProjectModel Odoo master admin password
DB_USER Fixed (odoo) PostgreSQL user
DB_PASSWORD Auto-generated PostgreSQL password
DB_NAME Option Default database
HIDE_DB_LIST Option Hide DB picker
PROXY_MODE ServerModel Traefik proxy mode

Docker Compose Integration

The .env file is automatically sourced by Docker Compose via env_file: directives in the generated docker-compose.yml. You should not need to edit it manually in normal operation — use of env conf to modify configuration instead.