How to Install Stash on Your Synology NAS with Docker

Last updated on January 6th, 2023 at 09:26 pm

Stash allows you to organize and view your own collection of adult video and image files. Think of it like a private PornHub site for your personal porn collection. Stash is private as it operates on your own network. Your collection is not shared anywhere.

Code Source: GitHub / Official Website: Here

Skip to Docker Run Code / Skip to Compose & Portainer Code

Features

Scenes: Every video file has its own scene. Scenes can be rated and tagged with performers, tags, movies and a studio.

Markers: Bookmark your favorite parts of a scene with markers. Markers can be tagged and appear in the video scrubber when viewing a scene.

Images: Images can be rated and tagged with performers, tags and a studio.

Galleries: Galleries are collections of images. Galleries can be automatically created from zip files and folders containing image files.

Install Docker

Before we start, please ensure you have Docker installed. This can be installed through the Synology Package Center.

Create the Docker Folder

We now need to create the Docker folder. Head into File Station and open the Docker folder. Select Create, choose Create folder and name it stash. (see demonstration)

Create the Scheduled Task

We will now head into Control Panel > Task Scheduler > Create > Scheduled Task and click User-defined script. (see demonstration)

Configure the Scheduled Task

In the window that appears, insert the following:

In the General tab, In the Task field, enter Stash. From the User list, select root. Uncheck the Enabled option.

In the Schedule tab, Select Run on the following date (make sure It’s today’s date). Now select Do not repeat.

In the Task Settings tab, under Notification, You can choose to turn this on, otherwise skip this. Now copy-paste the following code into the Run command area. Now click OK.

docker run -d \
    --name=stash \
    -p 9999:9999 \
    -e PUID=1026 \
    -e PGID=100 \
    -e UMASK=002 \
    -e TZ=Europe/London \
    -v /volume1/docker/stash:/config \
    -v /volume1/data/media/adultmovies:/adultmovies \
    cr.hotio.dev/hotio/stash

Important: Remember to update the PUID, PGID, TZ and Directory values to match your own.

Accept the warning prompt

When the below warning appears, press OK.

Run the Scheduled Task

You will now see your list of tasks. Select Stash, now press Run.

When asked to run, press Yes.

Your app is now Installed

The installation process has now finished. Give it a few seconds to appear in your Docker list.

Open your browser and enter the link to your new container http://synologyip:9999.

Run through the quick setup and you are done

IMPORTANT: If you don’t see your media directory, please see the following clip

Docker Compose and Portainer

If you would prefer to install with Docker Compose or Portainer, use the following code. You can also view a demonstration here.

version: '3.3'
services:
    hotio:
        container_name: stash
        ports:
            - '9999:9999'
        environment:
            - PUID=1026
            - PGID=100
            - UMASK=002
            - TZ=Europe/London
        volumes:
            - '/volume1/docker/stash:/config'
            - '/volume1/data/media/adultmovies:/adultmovies'
        image: cr.hotio.dev/hotio/stash

More Guides:

Actual AdGuard airsonic Audiobookshelf autobrr Bitcoin Calibre-Web ChatpadAI Cleanarr Composerize Crypto DailyTxT Dashy deemix Deluge Emby EmulatorJS Ethereum Euterpe FileBot FilePizza FileZilla Flame Focalboard FreshRSS Grafana Grocy Heimdall Homarr Home Assistant Homebridge Jackett Jellyfin Jellyseerr Joplin Kavita Komga LanguageTool LibreOffice Lidarr Mealie MediaGoblin Medusa Memegen Minecraft Minecraft Bedrock MQTT MusicBrainz MyMediaForAlexa Navidrome Node-RED NZBGet NZBHydra Ombi Overseerr PaperlessNGX Pashword Password Cards Petio Pi-Hole Picard Plex Portainer PostgreSQL Prowlarr PUID & PGID pwndrop Radarr Radicale Readarr ruTorrent SABnzbd SearX Seed Phrase Shiori Sonarr SpeedTest Stash Storm Tailscale TasmoAdmin Tautulli Theia Trilium TubeSync Unpackerr Uptime Kuma Vaultwarden Watchtower WebPDF Whisparr Wordle YouTubeDL


5 thoughts on “How to Install Stash on Your Synology NAS with Docker”

  1. Hello,

    Here’s my script:
    docker run -d \
    –name=stash \
    -p 9999:9999 \
    -e PUID=1026 \
    -e PGID=100 \
    -e UMASK=002 \
    -e TZ=Europe/London \
    -v /volume1/docker/stash:/config \
    -v /volume1/Goodstuff/Goodstuff:/adultmovies \
    cr.hotio.dev/hotio/stash

    As you can see from the script above, my video files are under ” /volume1/Goodstuff/Goodstuff”. However, in my stash app, I cannot access that folder. Both the docker folder and the Goodstuff folder are on volume1.

    1. When you click add directory you will be in the default config directory, press ‘Up a directory’ down at the bottom and you should now see your folder (I’ve updated the guide with a video)

Leave a Comment

Scroll to Top