This project is an example of how to create and build a custom Docker image, following a two-layer architecture using Docker to deploy Odoo.
- Application layer:
- Odoo running inside a Docker container, handling business logic, user interactions, and API requests.
- Database layer:
- A PostgreSQL database running in a separate container, storing all business data, including products, customers and transactions.
To deploy this project it used Docker Compose where it defined services, volumes and networks to connect Odoo to PostgreSQL.
- Docker.
- Configure environment variables in
.envfile. - Build project using
docker compose up --build. - Open
https://localhost:8069in your browser.
docker compose down --rmi all--> Stop and delete the containers and images.