
Nametag is a modern, open-source personal relationships manager, basically a CRM built for your real human connections: friends, family, colleagues, old classmates, people you keep meaning to call back, and so on. It lets you quietly keep track of everything youâd hate to forget about someone: birthdays and anniversaries, how you met, private notes and memories, important dates that matter only to you, and the web of relationships between people (whoâs whose sibling, ex-partner, former colleague, introduced you to whom, etc.). The standout feature is a beautiful, interactive network graph that visualizes your entire personal world. Suddenly you see clusters of friends who all know each other from that one festival, or how your family branches connect to your work circle. In this step by step guide I will show you how to install Nametag on your Synology NAS using Docker and Portainer.
STEP 1
Please Support My work by Making a Donation.
STEP 2
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 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 / Network / Connectivity tab/ Check Enable HTTP/2 then click Apply. Follow the instructions in the image below.

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

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

STEP 7
Now click the âCreateâ button. Follow the instructions in the image below.

STEP 8
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 Nametag. After that, add the following instructions:
Source:
Protocol:Â HTTPS
Hostname: nametag.yourname.synology.me
Port:Â 443
Check Enable HSTS
Destination:
Protocol:Â HTTP
Hostname:Â localhost
Port:Â 3753

STEP 9
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.

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

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

STEP 12
Log into Portainer using your username and password. On the left sidebar in Portainer, click on Home then Live connect. Follow the instructions in the image below.

On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.

STEP 13
In the Name field type in nametag. Follow the instructions in the image below.
services:
db:
image: postgres:18-alpine
container_name: Nametag_DB
hostname: nametag-db
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "pg_isready", "-q", "-d", "nametag_db", "-U", "nametaguser"]
timeout: 45s
interval: 10s
retries: 10
environment:
POSTGRES_USER: nametaguser
POSTGRES_PASSWORD: nametagpass
POSTGRES_DB: nametag_db
volumes:
- /volume1/docker/nametag/db:/var/lib/postgresql:rw
restart: on-failure:5
redis:
image: redis:8-alpine
container_name: Nametag_REDIS
healthcheck:
test: ["CMD-SHELL", "redis-cli ping || exit 1"]
command: redis-server --requirepass mariushosting
environment:
TZ: Europe/Bucharest
volumes:
- /volume1/docker/nametag/redis:/data:rw
restart: on-failure:5
nametag:
image: ghcr.io/mattogodoy/nametag:latest
container_name: Nametag
user: 0:0
ports:
- 3753:3000
environment:
DATABASE_URL: postgresql://nametaguser:nametagpass@nametag-db:5432/nametag_db
REDIS_URL: redis://:mariushosting@redis:6379
NEXTAUTH_URL: http://localhost:3000
NEXT_PUBLIC_APP_URL: https://nametag.yourname.synology.me
NEXTAUTH_SECRET: dOxZYTTZgXKMHkqLBIQVImayQXAVWdzGBPuFJKggzcgvgPJPXpWzqzKaUOIOGGIr
CRON_SECRET: thrYUOvczcdKbBvPiQgJvmvELohjJcSLTWplQsgwVyfBHuXUlFIqrcaWqLiMSkfM
NODE_ENV: production
depends_on:
- db
- redis
restart: on-failure:5
cron:
image: alpine:3.19
container_name: Nametag_CRON
command: >
sh -c "
echo '0 8 * * * wget -q -O - --header=\"Authorization: Bearer '\"$$CRON_SECRET\"'\" http://app:3000/api/cron/send-reminders > /proc/1/fd/1 2>&1' > /etc/crontabs/root &&
crond -f -l 2
"
environment:
- CRON_SECRET=${CRON_SECRET}
depends_on:
- nametag
restart: on-failure:5
Note: Before you paste the code above in the Web editor area below, change the value for command and type in your own redis password. mariushosting in an example for a redis password.
Note: Before you paste the code above in the Web editor area below, change the value for TZ. (Select your current Time Zone from this list.)
Note: Before you paste the code above in the Web editor area below, change the value for REDIS_URL and type in your own redis password. The same password that you have previously added in the command area of the redis container. mariushosting in an example for a redis password.
Note: Before you paste the code above in the Web editor area below, change the value for NEXT_PUBLIC_APP_URLÂ and add your own synology.me DDNS address with https:// at the beginning that you have previously created at STEP 6.
Note: Before you paste the code above in the Web editor area below, change the value for NEXTAUTH_SECRET. (Generate your own Random 64 length NEXTAUTH_SECRET.)
Note: Before you paste the code above in the Web editor area below, change the value for CRON_SECRET. (Generate your own Random 64 length CRON_SECRET.)

STEP 14
Scroll down on the page until you see a button named 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 15
If everything goes right, you will see the following message at the top right of your screen: âSuccess Stack successfully deployedâ.

STEP 16
đ˘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 17
Please wait approximately 1 minutes for the installation to be completed or you will get a Synology blank page if you try to connect too soon. Now open your browser and type in your HTTPS/SSL certificate like this https://nametag.yourname.synology.me/register In my case it’s https://nametag.mariushosting.synology.me/register If everything goes right, you will see the Nametag registration page. Type in your own details, then click Sign up. Follow the instructions in the image below.

STEP 18
Type in your own Email Address and Password that you have previously added at STEP 17. Click Log In. Follow the instructions in the image below.

STEP 19
Add your Network. Click the People tab to add the first person on your network. Follow the instructions in the image below.

STEP 20
Click the Dashboard tab to check your Network group. You can create different Groups, for example colleagues, friends, neighbors, family etc. Follow the instructions in the image below.

Enjoy Nametag!
If you encounter issues by using this container, make sure to check out the Common Docker issues article.
Note: Find out how to update the Nametag container with the latest image.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Can I run Docker on my Synology NAS? See the supported models.
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.
This post was updated on Saturday / January 17th, 2026 at 8:33 PM