# Local environment for docker-compose. Copy to `.env` and adjust the paths: # # cp .env.example .env # # `.env` is gitignored: every developer points these at their own checkouts. # docker-compose reads it automatically. For manual `docker-compose run` calls # that need $ODOO_ADDONS_PATH in the shell, load it first: # # set -a; . ./.env; set +a # Host directory holding the read-only Odoo/OCA sources (OCB + the OCA repos # listed in oca_dependencies.txt). Each repo is mounted at /mnt/oca/. ODOO_SRC=/media/snt/data/odoo # Host ports published by the odoo service (web / longpolling). ODOO_HTTP_PORT=8069 ODOO_LONGPOLLING_PORT=8072 # Addons path *inside* the container. Single source of truth: used by the # `command` in docker-compose.yml and by manual `docker-compose run` # invocations (`odoo --addons-path=$ODOO_ADDONS_PATH ...`). ODOO_ADDONS_PATH=/mnt/extra-addons,/mnt/oca/account-invoice-reporting,/mnt/oca/account-invoicing,/mnt/oca/bank-payment,/mnt/oca/community-data-files,/mnt/oca/l10n-spain,/mnt/oca/pos,/mnt/oca/product-attribute,/mnt/oca/purchase-workflow,/mnt/oca/sale-workflow,/mnt/oca/stock-logistics-workflow,/usr/lib/python3/dist-packages/odoo/addons