How to Install Odoo on Your Synology NAS

How to Install Odoo on Your Synology NAS

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.

Note: This guide works perfectly with the latest Odoo 15 release

  • 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.

Odoo Synology NAS Set up 1

  • 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.

Odoo Synology NAS Set up 2

  • 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.

Odoo Synology NAS Set up 3

  • STEP 7

In the Name field type in odoo. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

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:

Odoo Synology NAS-Set up 4 new odoo 15

  • 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.

Odoo Synology NAS Set up 5 new odoo 15

  • STEP 9

If everything goes right, you will see this message at the top right of your screen: “Stack successfully deployed“.

Odoo Synology NAS Set up 6

  • 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.

  1. Type in your automatically generated Master Password.
  2. Type in a random name for your database.
  3. Type in your Email.
  4. Type in a random Password.
  5. Type in your Phone number.
  6. Select your Language.
  7. Select your Country.
  8. Click Create database.

Odoo Synology NAS Set up 7

  • STEP 12

After you click Create database on STEP 11 you can start to enjoy your Odoo!

Odoo Synology NAS Set up 8

Note: If you want to run Odoo container over an HTTPS connection, check out my guide on How to Run Docker Containers Over HTTPS.

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.

This post was updated on Thursday / October 21st, 2021 at 8:27 PM