Setting Up Production Instance
Learn how to set up and configure your production Odoo instance on doploy.Prerequisites
Before creating a production instance, ensure you have:- Active subscription - Production deployments require a Pro or Starter plan subscription
- Server ready - A server must be available and fully provisioned (check status in Servers)
- Git branch - Your production Odoo modules and customizations should be committed to a Git branch (typically
main,master, orproduction)
Important Considerations
One Production Instance Per ProjectEach project can have only one production instance. If you need multiple production environments, create separate projects. Server Separation
For optimal performance and to minimize risk to production, deploy production on a server separate from staging instances. Backup Storage
Enable the backup storage add-on to automatically create daily backups with 7-day retention. This is highly recommended for production environments.
Step 1: Create Production Instance
Navigate to your project’s Deployments page and click the ”+” button next to Production.Select Server
Choose which server to host your production instance. For best performance:- Use a dedicated server for production
- Avoid servers already running staging instances
- Ensure adequate resources (CPU, RAM, storage) for your workload
Select Branch
Select the Git branch with your production Odoo modules and customizations. This is typically yourmain or master branch.
You can also create a new branch by clicking the “Branch” button, which lets you base it on an existing branch.
Configure Domain
Choose how users will access your production instance: Free doploy subdomainUse a
{your-name}.doploy.site domain. This is automatically available and requires no DNS configuration.
Custom domainIf using your own domain, doploy will display the server IP address and DNS setup instructions. Create an A record pointing your domain to this IP address before deployment. doploy will handle the SSL certificate for your custom domain automatically.
Database Name
A database name is auto-generated based on your branch name and a random suffix, ensuring uniqueness. You can modify this if needed, but it must be a valid PostgreSQL identifier (letters, numbers, underscores only).Admin Password
A secure random password is automatically generated for the Odoo admin user. Important: Save this password immediately—it won’t be shown again. You can change it later from within Odoo or reset it via doploy.Enable Automatic Backups
If you have the backup storage add-on enabled, you can automatically create daily backups with 7-day retention. This checkbox is checked by default for production instances. You can modify backup schedules later from the Backup Schedule tab.Step 2: Deploy
Review your configuration and click “Deploy Instance” to start the deployment process. The instance will be built and deployed, typically completing within a few minutes. You can monitor progress in the deployment history tab.Step 3: Configure Domain DNS (Custom Domains Only)
If you’re using a custom domain, configure your DNS records before the deployment completes:- Create an A record for your domain
- Point it to the server IP address shown in the deployment modal
- Wait for DNS propagation (usually 5-60 minutes)
Production Best Practices
Server IsolationRun production on a dedicated server to prevent resource contention with staging instances. Backup Strategy
Enable automatic daily backups with sufficient retention. Consider additional manual backups before major updates. Monitoring
Regularly check your instance status and logs. Set up alerts for critical issues if available. Testing Before Production
Always test changes in staging and development instances before deploying to production. Regular Updates
Keep your Odoo version and modules updated. Consider enabling automatic updates for security patches.
Next Steps
- Set up staging instance for testing before production
- Configure automatic backups to protect your data
- Set up DNS for your custom domain
- Enable auto updates for security patches

