How to Install Cryptgeon on Your Synology NAS

How to Install Cryptgeon on Your Synology NAS

Cryptgeon is a secure, open source sharing note or file service inspired by PrivNote, written in rust and svelte. Each document note has a 512bit generated id that is used to retrieve the note. All the data you create through cryptgeon is stored in memory (RAM) and never persists/stays on your disk on the NAS. In this step by step guide I will show you how to install Cryptgeon on your Synology NAS using Docker & Portainer.

Note: This guide works perfectly with the latest Cryptgeon v2.0.6 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

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 4

Log into Portainer using your username and password. On the Portainer left sidebar click on Stacks then + Add stack. Follow the instructions in the image below.

1 Synology Portainer Add Stack

  • STEP 5

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

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

version: '3.8'

services:
  redis:
    image: redis:7-alpine
    container_name: Cryptgeon-Redis
  app:
    image: cupcakearmy/cryptgeon
    container_name: Cryptgeon
    depends_on:
      - redis
    environment:
      SIZE_LIMIT: 16 MiB
    ports:
      - 8120:5000

Note: Before you paste the code above in the Web editor area below, change the value for SIZE_LIMIT with your preference, for example 32 MiB instead of 16 MiB etc.

1 Cryptgeon Synology NAS Set up

  • STEP 6

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.

2 Cryptgeon Synology NAS Set up

  • STEP 7

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

3 Cryptgeon Synology NAS Set up

  • STEP 8

Follow my step by step guide to add a Wildcard Certificate with reverse Proxy.

Cryptgeon Synology NAS Set up 5

  • STEP 9

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 10

Connect to your own Wildcard address, then add a note. You can choose your own retention policy and the note will expire and be destroyed after the set time or views. Click Create. Follow the instructions in the image below.

Cryptgeon Synology NAS Set up 6

  • STEP 11

After you click Create on STEP 10, you can copy and share the note with whomever you want. Follow the instructions in the image below.

Cryptgeon Synology NAS Set up 7

  • STEP 12

The person accessing the link you provided will have to click on show note to see it. Follow the instructions in the images below.

Cryptgeon Synology NAS Set up 8

They can also copy the note to their clipboard.

Cryptgeon Synology NAS Set up 9

  • STEP 13

If someone attempts to access the link and you set up a retention policy on STEP 10, they will get a warning message saying that “note was not found or was already deleted”.

Cryptgeon Synology NAS Set up 10

  • STEP 14

Instead of a note, you also have the option to drag and drop a file from your own computer, with the retention policy of your choice. Follow the instructions in the image below.

Cryptgeon Synology NAS Set up 11

  • STEP 15

After you provide someone with the link, they can download the file/files. Follow the instructions in the image below.

Cryptgeon Synology NAS Set up 12

Enjoy Cryptgeon!

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update the Cryptgeon 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.

This post was updated on Tuesday / November 15th, 2022 at 8:08 PM