Odoo Docker Compose System
Odoo Docker Compose allows you to create odoo environment in seconds using Docker Compose technology.
Module Features
- Use odoo Docker & Docker Compose technology for building secure and high performance Odoo environments in seconds.
- This module will support to install and use Nginx proxy server to manage your Odoo instances and add SSL certificate as well as install Portanier system that support you in managing Odoo instances.
- Installing Odoo web in Ubuntu container and install Postgres DB in another Ubuntu container then link both containers using secure channel (open port 5432 only).
- Keep Odoo Web data (File store + Users Sessions + AddOns) outside Docker Container as per Docker standard.
- Add separate folder for Odoo Enterprise Modules outside Docker container.
- Map odoo logs outside Docker container for easy access.
- Map Postgres DB Backup outside Docker container as per Docker standard.
- Manage more than one environment remotely.
- Automatic Odoo modules installation (Community or Enterprise) while environment creation.
- Automatic DB creation while environment creation using default Odoo user\password (admin\admin) similar to Odoo Runboot.
- Professional Nginx Proxy Manager manual to create multiple Odoo instances in same server.
- Allow HTTPS feature:https://letsencrypt.org/
- Professional Portainer manual to manage Docker containers.
- Each environment has one folder that contains all related files\folders.
- Docker compose file with specific requirements will be saved in project folder for environment re-creation purpose.
- Possibility to stop \ re-run container from module.
- Automatic users\password creation while creating new environment.
- Give specific local IP for each environment based on isolated VLAN (Network Range).
- Professional environments creation manual step by step.
A) Manager PC Installation
Manager PC is server or PC where Docker Compose Module is installed and control remote servers (Manager PC and Remote server could be one server but not preferred.)
1) Run the following commands using root user:
apt update
apt -y upgrade
apt-get install -y python3 python-dev python3-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev python-pip
apt install -y docker
apt install -y docker-compose
apt install -y rustc
pip3 install wheel
pip3 install paramiko
pip3 install erppeek
pip3 install rustc
2) Install this module to your target PC or server:
Copy this module to your PC or server then install it after that start define your first remote server and follow the instruction that module provided during setup.
B) Remote server installation
Remote server is cloud server where Docker Compose will host Odoo instances
While installing each remote server, automatically the module will install the following remotely:
Instructions to install UFW \ Webmin \ Change SSH port “to avoid any hacking”
Install Docker
Install Docker Compose
Install Nginx Proxy Server
Install Portainer
C) Installation Guide
The following are guide steps:
- 1- Download Odoo Docker Module
- 2- Install Firewall
- 3- Configure SSH
- 4- Install Webmin
- 5- Install Docker and Docker Compose
- 6- Install Nginx
- 7- Install Portainer
- 8- Install Main Odoo Docker Web
- 9- Configure Odoo Main Web
- 10- Make Odoo Container up
- 11- Install Module Libraries
- 12- Install New Server
- 13- Install New Service
- 14- Activate and De-activate Specific Service