Overview
Proper configuration is crucial for Odoo performance, security, and reliability. This guide covers all configuration options available in deployERP for fine-tuning your instances.Configuration Methods
Dashboard UI
Visual configuration through web interface
Configuration Files
Direct editing of odoo.conf
API
Programmatic configuration updates
Core Configuration
Database Settings
string
default:"localhost"
PostgreSQL server hostname
- Usually
localhostfor same-server database - Can be remote database IP/hostname
integer
default:"5432"
PostgreSQL server port
string
default:"odoo"
Database user for Odoo connections
string
required
Database user password (encrypted in storage)
string
required
Default database name
- Can be comma-separated list for multi-database
- Use
Falseto show database selector
string
default:"template0"
Template for creating new databases
Server Settings
integer
default:"8069"
HTTP service port (internal)
integer
default:"8072"
Longpolling/websocket port
boolean
default:"true"
Enable when behind reverse proxy
string
default:"base,web"
Modules loaded for all databases
Performance Configuration
Worker Configuration
Optimize worker settings based on server resources:Memory Limits
Configure memory limits per worker:Request Limits
Control request processing:integer
default:"60"
CPU time limit per request (seconds)
- Prevents runaway queries
- Increase for heavy computations
integer
default:"120"
Total time limit per request (seconds)
- Includes database wait time
- Should be 2x CPU limit
integer
default:"8192"
Maximum number of requests per worker
- Worker restarts after limit
- Prevents memory leaks
Security Configuration
Access Control
string
required
Master password for database operations
- Required for database creation/deletion
- Should be complex and secure
- Stored encrypted
boolean
default:"false"
Show database list on login
- Disable for production
- Security best practice
string
Database visibility filter
- Example:
^%d$for subdomain matching - Example:
^productionfor specific prefix
Network Security
Email Configuration
SMTP Settings
Configure outgoing email:string
SMTP server hostname
- Example:
smtp.gmail.com - Example:
email-smtp.us-east-1.amazonaws.com
integer
default:"587"
SMTP server port
- 587 for TLS
- 465 for SSL
- 25 for unencrypted (not recommended)
boolean
default:"false"
Use SSL/TLS encryption
string
SMTP authentication username
string
SMTP authentication password
string
Default sender email address
Email Templates
Logging Configuration
Log Levels
Configure logging verbosity:string
default:"info"
Global log level:
critical: Only critical errorserror: Errors onlywarn: Warnings and aboveinfo: Informational messages (default)debug: Detailed debug informationdebug_sql: Include SQL queries
string
Specific module logging:
Log Rotation
Advanced Configuration
Multiprocessing
Database Options
File Storage
Module Configuration
Module Management
string
required
Comma-separated list of module directories:
string
Path to upgrade scripts directory
string
Languages to load on startup:
Auto-install Configuration
Caching Configuration
Redis Integration
Enable Redis for improved performance:Static Asset Caching
Environment-Specific Configuration
Development Settings
Production Settings
Configuration via API
Update configuration programmatically:Configuration Best Practices
Start Conservative
Start Conservative
Begin with default settings and adjust based on monitoring data
Monitor Impact
Monitor Impact
Track performance metrics after each configuration change
Document Changes
Document Changes
Keep a changelog of configuration modifications
Test Thoroughly
Test Thoroughly
Test configuration changes in staging before production
Regular Reviews
Regular Reviews
Review and optimize configuration quarterly

