Skip to content

A Multi-Tenant Odoo App. How to configure multiple databases on individual domain names using a single Odoo instance?

Notifications You must be signed in to change notification settings

thisishaykins/multi-tenant-odoo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Multi-Tenant Odoo 18 App

An Odoo Mult-Tenant App

Summary

How to configure multiple databases on individual domain names using a single Odoo instance? View Full Article here

Whether you’re a developer, startup founder, or building the next ERP-as-a-Service, this is your kick-off point. With this setup, you're running your own multi-tenant app on Odoo 18.

Project Structure

├── docker-compose.yml
├── .env
├── odoo.conf
└── traefik/
    ├── traefik.yml
    └── acme.json

Project Setup

> Add host entries on /etc/hosts (or Windows equivalent)

127.0.0.1 client-1.haykinsodoo.docker client-2.haykinsodoo.docker client-3.haykinsodoo.docker

> Startup the project using docker

# Start services
$ docker-compose up 

# === OR ====

$ docker-compose up -d

> Visit the following link on your browser

> 🤖 Bonus: Manually Create DB

$ docker exec -it <odoo_container_id> /bin/bash

$ odoo -d client-1 --init=base --stop-after-init

Project App Screenshots

Client 1 App Interface

An Odoo Mult-Tenant App

Client 2 App Interface

An Odoo Mult-Tenant App

Client 3 App Interface

An Odoo Mult-Tenant App


Developed By: Akinshola Samuel AKINDE (akinsholasamuel@gmail.com) Drop your questions here or reachout and tag me on Twitter/X: @thisishaykins

About

A Multi-Tenant Odoo App. How to configure multiple databases on individual domain names using a single Odoo instance?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published