Stash
★ 13.5kA self-hosted alternative to Plex
About
Community Ratings
No ratings yetNew this week
Read recap →Features
- media collection organization
- video and image support
- tagging and search
- metadata scraping
- community-built plugins
- performer/tag/studio statistics
- web-based interface
- local scanning of media directories
Details
- Last Updated
- Nov 28, 2026
- Created
- Jun 4, 2018
- Install Methods
- dockerbinarysourcepackage-manager
- Requirements
- GoFFmpeg
- Default Port
- 9999web interface
- API
- REST
- Runtime / Stack
- DockerGo
- Privacy & Independence
- Cloud: Optional
- Deployment
Deployment: Docker Compose ✓Single Container — minimal hosting footprintsingle container
Run Stash yourself
Pick how much you want to manage.
HostingerSponsored
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
2 more ways to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.
Is this your project? Sponsor a listing
Run Stash with Docker Compose
Compose file from the Stash project repository.
1 service
no resource limits declared
needs persistent storage (6 volumes)
docker/production/docker-compose.yml · @ 4d6ab70 · scanned Nov 3, 2026
# APPNICENAME=Stash
# APPDESCRIPTION=An organizer for your porn, written in Go
services:
stash:
image: stashapp/stash:latest
container_name: stash
restart: unless-stopped
## the container's port must be the same with the STASH_PORT in the environment section
ports:
- "9999:9999"
## If you intend to use stash's DLNA functionality uncomment the below network mode and comment out the above ports section
# network_mode: host
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "2m"
environment:
- STASH_STASH=/data/
- STASH_GENERATED=/generated/
- STASH_METADATA=/metadata/
- STASH_CACHE=/cache/
## Adjust below to change default port (9999)
- STASH_PORT=9999
## Set your timezone, e.g. America/New_York or Europe/Berlin
## see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- TZ=Etc/UTC
volumes:
## Adjust below paths (the left part) to your liking.
## E.g. you can change ./config:/root/.stash to ./stash:/root/.stash
## The left part is the path on your host, the right part is the path in the stash container.
## Keep configs, scrapers, and plugins here.
- ./config:/root/.stash
## Point this at your collection.
## The left side is where your collection is on your host, the right side is where it will be in stash.
- ./data:/data
## This is where your stash's metadata lives
- ./metadata:/metadata
## Any other cache content.
- ./cache:/cache
## Where to store binary blob data (scene covers, images)
- ./blobs:/blobs
## Where to store generated content (screenshots,previews,transcodes,sprites)
- ./generated:/generated
This file may be out of date. Check the Stash documentation for current setup steps.
Tags
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.
