You can self-host Standard Notes on your Synology NAS to gain private end-to-end encrypted notes and files securely accessible via the Standard Notes app on all your devices, even when you are on the go and on an external network. All data will be stored on your personal NAS system in the privacy of your own home.
The following instructions were tested on a Synology DS220+ system.
Install the official Docker package on your Synology server via the Package Center by searching for "Docker".
Install the Git Server package.
SSH into your server by following the official instructions.
Once inside your server via command line, change your working directory to the location you'd like to place your Standard Notes related data. In this example, we've chosen
/volume1/MySharedFolder. You can navigate to this folder via:
Follow the instructions on our Docker self-hosting page.
git clone https://github.com/standardnotes/self-hosted.git cd self-hosted
If you encounter any issues, see Troubleshooting below.
During the first start of the server, the infrastructure must create and setup your database. This can take some time, depending on your system. In our tests on a Synology DS220, this process took about 15 minutes. You can run
tail -f logs/*.log to observe real-time status and logs.
Allow devices to access the server:
You're now up and running with Standard Notes on your Synology NAS! You can verify your server is working by accessing the server endpoint from a web browser by visiting
If you encounter errors related to permissions, you may prepend your commands with
sudo to run those commands with root privileges.
sudo chmod -R 755 ./data/
If you encounter issues stating that a folder in the
data directory could not be found or does not exist, such as
data/mysql, simply create those folders:
mkdir data/mysql mkdir data/revisions-db
Using the Standard Notes desktop app:
We'll use Tailscale to allow secure access to your self-hosted server from your other devices, no matter where you are in the world.
Install Tailscale on your Synology NAS from the Package Center.
Complete the Tailscale setup wizard until you are presented with the final IP address of your server. It should start with something like
100.xxx.... In this guide, we'll assume the value of
18.104.22.168 for your server Tailscale-based IP.
Install and configure Tailscale on your desktop computer, signing in with the same account you used on your server.
Install and configure Tailscale on your mobile device.
Stop your Standard Notes server:
.env file. You can use Vim to open the file in your SSH session:
Locate the line that says
FILES_SERVER_URL and modify the value to equal the Tailscale-based IP address of your Synology NAS, followed by
3125 for the port.
Start the server via
You can now access your self-hosted server from your mobile device by connecting to the Tailscale VPN. When signing into your account using the Standard Notes mobile app, enter your Synology's Tailscale-based IP address and the self-hosted port. In this example, that would be
To access server-side premium features, you'll need to create a subscription for your account (replace EMAIL@ADDR with your user email):
./server.sh create-subscription EMAIL@ADDR
Note that subscriptions created on your self-hosted server in this manner unlock server side premium features, but not client-side premium features (such as Super notes and Nested tags). To gain the full benefits of the Standard Notes ecosystem, you'll need to purchase an offline plan.
If you plan to access your server from the web app at https://app.standardnotes.com, your server will need an HTTPS certificate. This is because web browsers do not allow a secure page (beginning with https) to access non-secure servers (beginning with http).
Adding an HTTPS certificate to your Synology setup is outside the scope of this guide, but you can take a look at our generic HTTPS instructions for Linux-based servers. These instructions will likely need to be custom-fitted with Tailscale in order to work correctly.