Skip to content

Add odoo-instance-api support (systemd and docker runtimes)#30

Open
oyale wants to merge 2 commits intomasterfrom
feat/odoo-instance-api
Open

Add odoo-instance-api support (systemd and docker runtimes)#30
oyale wants to merge 2 commits intomasterfrom
feat/odoo-instance-api

Conversation

@oyale
Copy link
Copy Markdown
Contributor

@oyale oyale commented Apr 13, 2026

Summary

Add optional support for odoo-instance-api in the monitoring role.

What changed

  • Add new defaults for odoo-instance-api feature flags and runtime configuration.
  • Support two runtimes:
    • systemd (PyPI install in venv + systemd unit)
    • docker (compose service block)
  • Keep the component disabled by default.
  • Keep API binding localhost-only by default.
  • Add configurable systemd service user/group:
    • monitoring_odoo_instance_api_systemd_user
    • monitoring_odoo_instance_api_systemd_group
    • both default to monitoring_user_name when unset.
  • Set default container image to Coopdevs self-hosted registry:
    • git.coopdevs.org:5050/coopdevs/sysadmin/monitoring/odoo-instance-api
  • Set default Odoo paths for both runtimes:
    • /home/odoo/pyenv/versions/odoo-16/bin/python
    • /etc/odoo/odoo.conf
  • Add new service template: templates/odoo-instance-api.service.j2.
  • Update README.md with new variables and runtime examples.
  • Update CHANGELOG.md under Unreleased.

oyale added 2 commits April 22, 2026 14:58
- Introduced role variables for configuring Odoo Instance API.
- Updated README and CHANGELOG to reflect new features.
- Implemented tasks for installing and managing Odoo Instance API as a systemd service.
- Enhanced Docker Compose template to include Odoo Instance API service.
@oyale oyale force-pushed the feat/odoo-instance-api branch from 1eb7057 to 130b23a Compare April 22, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant