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.
STEP 4
Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it odoo. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
STEP 5
Now create four new folders inside the odoo folder that you created at STEP 4 and name them addons, config, db-data and 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 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 environment: - POSTGRES_DB=postgres - POSTGRES_PASSWORD=odoo - POSTGRES_USER=odoo - PGDATA=/var/lib/postgresql/data/pgdata volumes: - /volume1/docker/odoo/db-data:/var/lib/postgresql/data/pgdata volumes: web-data: db-data:
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: “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 on STEP 11 you can start to 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: Some Docker Containers Need WebSocket.
This post was updated on Sunday / May 8th, 2022 at 2:42 PM