Skip to content

Willy93-coder/two_layer_architecture_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two-layer achitecture

Docker Bash Odoo Postgres

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.

  1. Application layer:
  • Odoo running inside a Docker container, handling business logic, user interactions, and API requests.
  1. 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.

Requirements

  • Docker.

Setup project

  1. Configure environment variables in .env file.
  2. Build project using docker compose up --build.
  3. Open https://localhost:8069 in your browser.

Stop project

  1. docker compose down --rmi all --> Stop and delete the containers and images.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors