How to Install Akaunting on Your Synology NAS

How to Install Akaunting on Your Synology NAS

Akaunting is a free, open-source online accounting and bookkeeping platform designed for small businesses and freelancers to manage invoices, track expenses, handle client payments, and monitor cash flow from any device. In this step by step guide I will show you how to install AkauntingĀ on your Synology NAS using Docker & Dockhand.

šŸ’”Note: This guide works perfectly with the latest Akaunting 3.1.21 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

InstallĀ Dockhand using my step by step guide. If you already have Dockhand installed on your Synology NAS, skip this STEP. āš ļøAttention: Make sure you have installed the latest Dockhand version.

  • STEP 3

Make sure you have a synology.me Wildcard Certificate. Follow my guide to get a Wildcard Certificate. If you already have a synology.me Wildcard certificate, skip this STEP.

  • STEP 4

Go toĀ Control PanelĀ /Ā Login PortalĀ /Ā AdvancedĀ Tab / clickĀ Reverse Proxy. Follow the instructions in the image below.

Akaunting Synology NAS Set up 1

  • STEP 5

Now click the ā€œCreateā€ button. Follow the instructions in the image below.

Akaunting Synology NAS Set up 2

  • STEP 6

After you click the Create button, the window below will open. Follow the instructions in the image below.

On the General area, set the Reverse Proxy Name description: type in Akaunting. After that, add the following instructions:

Source:
Protocol:Ā HTTPS
Hostname: akaunting.yourname.synology.me
Port:Ā 443

Check Enable HSTS

Destination:
Protocol:Ā HTTP
Hostname:Ā localhost
Port: 7337

Akaunting Synology NAS Set up 3

  • STEP 7

On the Reverse Proxy Rules, click the Custom HeaderĀ tab. ClickĀ CreateĀ and then, from the drop-down menu, clickĀ WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. ClickĀ Save. Follow the instructions in the image below.

Synology Proxy WebSocket

  • STEP 8

Go to Control Panel / Network / Connectivity tab/ Check Enable HTTP/2 then click Apply. Follow the instructions in the image below.

Akaunting Synology NAS Set up 4

  • STEP 9

Go to Control Panel / Security / Advanced tab/ Check Enable HTTP CompressionĀ then click Apply. Follow the instructions in the image below.

Akaunting Synology NAS Set up 5

  • STEP 10

Go toĀ File StationĀ and open the docker folder. Inside the docker folder, create one new folder and name itĀ akaunting. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Akaunting Synology NAS Set up 6

  • STEP 11

Now create two new folders inside the akaunting folder that you have previously created at STEP 10 and name them dbĀ and storage.Ā Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Akaunting Synology NAS Set up 7

  • STEP 12

Launch your browser, then go to the official Akaunting website by clicking on the blue link below. Register a free Akaunting account. You will get a free API KEY. You will need this API KEY later at STEP 19.

https://akaunting.com

Akaunting Synology NAS API KEY

  • STEP 13

Open your browser and type in http://synology-ip-address:3866 to connect to your Dockhand container. On the left sidebar, click Stacks then + Create. Follow the instructions in the image below.

Synology NAS Add Stack 1

  • STEP 14

In the Stack name field, type in akaunting. āš ļøWarning: Type in the name in lowercase letters. The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Follow the instructions in the image below.

Note: Copy Paste the code below in the Dockhand Compose Stack then click Create & Start.

services:
  akaunting:
    image: akaunting/akaunting:latest
    container_name: Akaunting
    healthcheck:
      test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/80' || exit 1
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 90s
    ports:
      - 7337:80
    environment:
      APP_ENV: production
      ADMIN_EMAIL: yourownemail@
      ADMIN_PASSWORD: mariushosting1984
      COMPANY_EMAIL: yourowncompanyemail@
      COMPANY_NAME: mariushosting
      AKAUNTING_SETUP: true
      APP_URL: https://akaunting.yourname.synology.me
      DB_DATABASE: akaunting
      DB_HOST: akaunting-db
      DB_NAME: akaunting
      DB_USERNAME: akauntinguser
      DB_PASSWORD: akauntingpass
      DB_PORT: 3306
      DB_PREFIX: aka_
      LOCALE: en-US
    volumes:
      - /volume1/docker/akaunting/storage:/var/www/html/storage:rw
    depends_on:
      akaunting-db:
       condition: service_healthy
    restart: on-failure:5
      
  akaunting-db:
    image: mysql:8
    container_name: Akaunting-DB
    hostname: akaunting-db
    user: 1026:100
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: mysqladmin -p$$MYSQL_ROOT_PASSWORD ping -h localhost
      interval: 20s
      start_period: 10s
      timeout: 10s
      retries: 3
    environment:
       TZ: Europe/Bucharest
       MYSQL_ROOT_PASSWORD: superpassword
       MYSQL_DATABASE: akaunting
       MYSQL_USER: akauntinguser
       MYSQL_PASSWORD: akauntingpass
    volumes:
      - /volume1/docker/akaunting/db:/var/lib/mysql:rw
    restart: on-failure:5

Note: Before you paste the code above in the Stack editor area below, change the value for ADMIN_EMAIL. Add your own email address. You will need this email later at STEP 18.
Note: Before you paste the code above in the Stack editor area below, change the value for ADMIN_PASSWORD. mariushosting1984 is an example for a password. You should add your own password. You will need this password later at STEP 18.
Note: Before you paste the code above in the Stack editor area below, change the value for COMPANY_EMAIL. Add your own company email address.
Note: Before you paste the code above in the Stack editor area below, change the value for COMPANY_NAME. Add your own company name.
Note: Before you paste the code above in the Stack editor area below, change the value for APP_URLĀ and type in your own synology.me DDNS withĀ https:// at the beginning that you have previously created at STEP 6.
Note: Before you paste the code above in the Stack editor area below, change the value numbers for userĀ with your own values. (Follow my step by step guide on how to do this.)
Note: Before you paste the code above in the Stack editor area below, change the value for TZ.Ā (Select your current Time Zone from this list.)
Akaunting Synology NAS Set up 8

  • STEP 16

The installation process will take some time. On the left sidebar, click Containers. āš ļøMandatory: Check from time to time until the healthcheck button turns green instead of yellow. Refresh the page from time to time.

Akaunting Synology NAS Set up 9

  • STEP 17

🟢Please Support My work by Making a Donation. Almost 99,9% of the people that install something using my guidesĀ forget to support my work, or justĀ ignoreĀ STEP 1. I’ve been very honest about this aspect of my work since the beginning: I don’t run any ADS, I don’t require subscriptions, paid or otherwise, I don’t collect IPs, emails, and I don’t have any referral links from Amazon or other merchants. I also don’t have any POP-UPs or COOKIES. I have repeatedly been told over the years how much I have contributed to the community. It’s something I love doing and have been honest about my passion since the beginning. But I also Need The Community to Support me Back to be able to continue doing this work.

  • STEP 18

Now open your browser and type in your HTTPS/SSL certificate like this https://akaunting.yourname.synology.me that you have previously created at STEP 6. In my case it’s https://akaunting.mariushosting.synology.me If everything goes right, you will see the Akaunting login page. Type in your own Email address (ADMIN_EMAIL) and Password (ADMIN_PASSWORD) that you have previously added at STEP 14. Follow the instructions in the image below.

Akaunting Synology NAS Set up 10

  • STEP 19

Type in your own API Key that you have previously got at STEP 12. Add your company information. Click Save. Follow the instructions in the image below.

Akaunting Synology NAS Set up 11

  • STEP 20

Click + New Currency. Follow the instructions in the image below.

Akaunting Synology NAS Set up 12

  • STEP 21

Add your favorite currency. Click Yes to add as a default Currency. Click Save then Next. Follow the instructions in the image below.

Akaunting Synology NAS Set up 13

  • STEP 22

Click Next. Follow the instructions in the image below.

Akaunting Synology NAS Set up 14 new 2027

  • STEP 23

Click Skip this step. Follow the instructions in the image below.

Akaunting Synology NAS Set up 15

  • STEP 24

Your Akaunting dashboard at a glance! Go straight to the next STEP.

Akaunting Synology NAS Set up 16

  • STEP 25

You will get a notification that says that a new update is available. Ignore the notification. The Akaunting team forgot to update their docker image at the official repository that points to the old 3.1.21 version. Wait until the new version is published then use METHOD 4 to update your Akaunting container.

Akaunting Synology NAS Set up 17

  • STEP 26

Create your first Invoice. On the left sidebar, click the + icon then Invoices. Follow the instructions in the image below.

Akaunting Synology NAS Set up 18

  • STEP 27

You can easily download your Invoice as a PDF file. Follow the instructions in the image below.

Akaunting Synology NAS Set up 19

Enjoy Akaunting!

šŸ†˜TROUBLESHOOTING

If you encounter issues by using this container, make sure to check out the Common Docker issuesĀ article.

Note: Can I run Docker on my Synology NAS?Ā See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Find outĀ how to update the Akaunting 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 Monday / September 21st, 2026 at 11:55 PM

No sponsors, no corporations, no ads, no subscriptions, no membership tiers, no referral links, no pop-ups, no cookies, no tracking code. Just pure guides for the community from Marius.