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. In this step by step guide I will show you how to install Odoo on your Synology NASÂ using Docker.
STEP 1
Please Support My work by Making a Donation.
STEP 2
Install Docker via Synology “Package Center”.
STEP 3
Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.
STEP 4
Go to File Station and open the docker folder. Inside the docker folder, create two new folders and name them odoo and odoodb. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
STEP 5
Now create three new folders inside the odoo folder that you created at STEP 4 and name them addons, config, web-data. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
STEP 6
Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.
STEP 7
In the Name field type in odoo. Follow the instructions in the image below.
version: '3' services: web: image: odoo container_name: Odoo depends_on: - db ports: - 8069:8069 volumes: - /volume1/docker/odoo/web-data:/var/lib/odoo - /volume1/docker/odoo/config:/etc/odoo - /volume1/docker/odoo/addons:/mnt/extra-addons db: image: postgres:latest container_name: Odoo-DB environment: - POSTGRES_DB=postgres - POSTGRES_PASSWORD=odoo - POSTGRES_USER=odoo - PGDATA=/var/lib/postgresql/data/pgdata volumes: - /volume1/docker/odoodb:/var/lib/postgresql/data/pgdata
STEP 8
Scroll down on the page until you see a button called Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.
STEP 9
If everything goes right, you will see this message at the top right of your screen: “Success Stack successfully deployed“.
STEP 10
Go back to STEP 1 or you will deal with karma 🙂.
STEP 11
Now open your browser and type in http://Synology-ip-address:8069/ Follow the instructions in the image below.
- Type in your automatically generated Master Password.
- Type in a random name for your database.
- Type in your Email.
- Type in a random Password.
- Type in your Phone number.
- Select your Language.
- Select your Country.
- Click Create database.
STEP 12
After you click Create database wait a few minutes until the database is created. After the database is created, you will be prompted to type in your own Email and Password that you have previously created at STEP 11. Click Log in. Follow the instructions in the image below.
STEP 13
Enjoy your Odoo!
Note: If you want to run Odoo container over an HTTPS connection, check out my guide on How to Run Docker Containers Over HTTPS. Attention: Odoo requires to Enable HSTS in reverse proxy to work.
Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update the Odoo container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.
This post was updated on Thursday / January 12th, 2023 at 12:51 PM