Odoo
Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.
Features
- Modular: Choose from over 30,000 apps
- Integrated: All apps work seamlessly together
- Open Source: Free to use and customize
- Scalable: From small businesses to enterprises
- User-Friendly: Modern and intuitive interface
Quick Start
Start Odoo with PostgreSQL:
docker compose up -d
Configuration
Environment Variables
ODOO_VERSION: Odoo version (default:19.0)ODOO_PORT_OVERRIDE: HTTP port (default:8069)POSTGRES_VERSION: PostgreSQL version (default:17-alpine)POSTGRES_USER: Database user (default:odoo)POSTGRES_PASSWORD: Database password (default:odoopass)POSTGRES_DB: Database name (default:postgres)
Access
- Web UI: http://localhost:8069
First Time Setup
- Navigate to http://localhost:8069
- Create a new database:
- Master password: (set a strong password)
- Database name: (e.g.,
mycompany) - Email: Your admin email
- Password: Your admin password
- Choose apps to install
- Start using Odoo!
Custom Addons
Place custom addons in the odoo_addons volume. The directory structure should be:
odoo_addons/
├── addon1/
│ ├── __init__.py
│ ├── __manifest__.py
│ └── ...
└── addon2/
├── __init__.py
├── __manifest__.py
└── ...
Database Management
Create a New Database
- Go to http://localhost:8069/web/database/manager
- Click "Create Database"
- Fill in the required information
- Click "Create"
Backup Database
- Go to http://localhost:8069/web/database/manager
- Select your database
- Click "Backup"
- Save the backup file
Restore Database
- Go to http://localhost:8069/web/database/manager
- Click "Restore Database"
- Upload your backup file
- Click "Restore"
Resources
- Resource Limits: 2 CPU, 2G RAM (Odoo), 1 CPU, 1G RAM (Database)
- Resource Reservations: 0.5 CPU, 1G RAM (Odoo), 0.25 CPU, 512M RAM (Database)
Production Considerations
For production deployments:
- Set a strong master password
- Use HTTPS (configure reverse proxy)
- Regular database backups
- Monitor resource usage
- Keep Odoo and addons updated
- Configure email settings for notifications
- Set up proper logging and monitoring