Odoo on existing server
Deploy Odoo on existing server
Summary
Categories |
Server Templates
|
Tags |
Odoo
Docker
|
Authors |
Cetmix OU
|
License | AGPL-3 |
Version | 1.0.6 |
Call sign | cx_server_template_odoo_on_existing_server |
Website | https://cetmix.com/contactus |
Server template for deploying Odoo on an already provisioned server (not created via Cetmix Tower), using Docker and optional DNS integration. It enables flexible, on-demand deployment of Odoo instances where the server is manually managed or brought externally.
Video Tutorial
🏗️ Architecture Components
1. Infrastructure Layer
Hosting Provider: Manually provisioned server (no cloud API integration)
OS Requirement: Ubuntu 22.04 or 24.04
SSH Access: Required for deployment via root or specified user
SSH Authentication: SSH key-based (passwords not supported)
2. Container Orchestration
Platform: Docker-based deployment on remote server
Image Strategy:
Starts from a tower-odoo-core base image
Final image includes custom addons and configurations
Container Configuration:
Dynamic ports for longpolling and web
Optional environment variables
Addon folders and mount points supported
3. Database Layer
Database: Shared PostgreSQL container
Deployment: Not created by this plan; assumes available and linked
Security: Uses secret-managed credentials
Integration: DB name, user, password, and host passed into container config
4. Web Layer
Reverse Proxy: Shared Nginx container (configured externally)
SSL Certificates: Not handled by this template; relies on Nginx/certbot
Longpolling Support: Optional configuration for WebSocket handling
5. DNS Management
DNS Provider: Cloudflare (optional)
Automation: A-records can be created dynamically
Config Variables:
cloudflare_token
cloudflare_zone
domain_name
Usage: Helpful for externally hosted domains
This package is distributed under the GNU Affero General Public License v3.0 (AGPL-3) or later license.