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
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.
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
Actual AdGuard airsonic Audiobookshelf autobrr Bitcoin Calibre-Web Cleanarr Composerize Crypto DailyTxT deemix Deluge Emby 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”
How can i Add my Directory which is not in the docker folder?
Hi Rob, within the docker directory there should be an option for you to create a new directory, call this stash. Let me know how you get on
Here’s my script:
docker run -d \
-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 \
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.
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)
Hi Neelik, even if I go to root, it won’t let me go up a directory. It seems that the directory structure is locked to the stash folder.