Hostinger Black Friday deal: VPS hosting up to 70% off
Ad

Try describing what you need:

Stash logo

Stash

★ 13.5k

A self-hosted alternative to Plex

GNU Affero General Public License v3.0Open Source — No PaywallSingle Container — single container — minimal hosting footprintDocker · Binary · Source +1No external DB1 documented maintainer

About

Stash is a self-hosted web application written in Go for managing personal media libraries. It is aimed at users who want to organize and browse diverse video and image collections, including...

Community Ratings

No ratings yet

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.

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.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Jun 13, 2026

Alternatives to Stash

Photoview logo

Photoview

6.6k
Photoview is a self-hosted photo gallery that scans directories on a server and organizes photos and videos into browsable albums.
Photo GalleriesCopyleft LicenseMedia Management+2
4 ContainersFully FOSS
Details
HomeGallery logo

HomeGallery

1.2k
HomeGallery is a self-hosted open-source web gallery for browsing personal photos and videos with tagging, mobile-friendly viewing, and AI-powered image and face discovery.
Photo GalleriesPermissive LicenseMedia Management+2
Details
SPIS logo

SPIS

216
spis is a lightweight private image server for browsing and managing media hosted on a private server.
Photo GalleriesCopyleft LicenseMedia Management+2
Details
Immich logo

Immich

120.4k
Immich is a self-hosted solution for managing photos and videos.
Photo GalleriesCopyleft LicenseMedia Management+2
6 Containers
Details
Imagor Studio logo

Imagor Studio

231
Imagor Studio is a self-hosted image gallery with built-in editing, designed for browsing, organizing, and transforming images.
Photo GalleriesMedia ManagementSelf Hosting Solutions
Single Container
Details
PhotoPrism logo

PhotoPrism

40.5k
An AI-powered photo and video library for browsing, organizing, searching, and sharing media privately.
Photo GalleriesFOSS with IssuesMedia Management+4
13 ContainersOpen CoreFOSS with Issues
Details
Kyoo logo

Kyoo

2.6k
Kyoo is a self-hosted media server for movies, series, and anime, positioned as an alternative to Jellyfin or Plex.
Multimedia StreamingCopyleft LicenseMedia Servers+2
10 Containers
Details
Photofield logo

Photofield

621
Photofield is a self-hosted photo gallery and viewer focused on fast, high-density browsing and simple deployment as a single binary.
Photo GalleriesPermissive LicenseMedia Management+1
5 Containers
Details
LibrePhotos logo

LibrePhotos

8.2k
LibrePhotos is a self-hosted photo management service with face recognition, object detection, and semantic search.
Photo GalleriesPermissive LicenseMedia Management+2
Details
PhotoStructure logo

PhotoStructure

All your family's photos and videos automatically organized into a fun and beautiful website. Runs via Docker, NodeJS, or native desktop installers.
Photo GalleriesMedia ManagementSelf Hosting Solutions
Details

Related Software

Pinry logo

Pinry

3.4k
Pinry is an image board system for saving, tagging, and sharing images, videos, and webpages.
Photo GalleriesMedia ManagementBookmark Management+2
2 Containers
Details
Fireshare logo

Fireshare

1.5k
Fireshare is a self-hosted media-sharing app for sharing game clips, videos, and other media through unique links.
Media ManagementMedia ServersSimple File Uploads+1
Single Container
Details
Piwigo logo

Piwigo

3.9k
Piwigo is an open source web-based photo gallery for managing and sharing photo libraries.
Photo GalleriesMedia ManagementCMS Platforms+3
Fully FOSS
Details
Lychee logo

Lychee

4.3k
Lychee is a free, open-source photo management system for uploading, organizing, and sharing photos from a server or web space.
Photo GalleriesPermissive LicenseMedia Management+1
Open Core
Details
LiteXiv logo

LiteXiv

22
A free frontend for pixiv that is simple yet sufficient.
Media ManagementSocial MediaSelf Hosting Solutions+1
Details
youtube-dl-nas logo

youtube-dl-nas

203
A NAS-friendly download queue for videos, audio, and subtitles that wraps yt-dlp with an authenticated web dashboard and REST API.
Self Hosting SolutionsMedia Management
Single Container
Details