This project provides an automation script to set up and manage an Odoo environment with PostgreSQL, pgAdmin, and Caddy reverse proxy using Docker & Docker Compose.
It also includes a watcher service that automatically starts, stops, and installs Python packages inside containers when you update specific files (start.txt
, stop.txt
, install.txt
) in the odoo-on-docker
directory.
- π§ Auto-creates project structure (config, Dockerfiles, pgAdmin, addons paths).
- π PostgreSQL as the database.
- π pgAdmin for DB management.
- π’ Odoo 18 Enterprise container with custom addons.
- π Caddy for reverse proxy with automatic config reload.
- π Watcher service (
watch_docker_yml.sh
) to:- Start/Stop services by writing in
start.txt
/stop.txt
. - Auto-install Python packages into running containers via
install.txt
. - Auto-apply
docker-compose
changes when.yml
files are modified.
- Start/Stop services by writing in
- π Systemd service to keep the watcher running in the background.