Jafner.net/homelab/fighter/config/stashapp/docker-compose.yml
Joey Hafner edf5173f5e
Pin images to latest, remove obsolete 'version' top-level compose element
Pinning to digests was resulting in many stacks failing to come online with "manifest unknown" errors. Will look further into this.
2024-07-22 10:26:29 -07:00

26 lines
743 B
YAML

services:
stash:
container_name: stash
image: stashapp/stash:latest
restart: "no"
volumes:
- /etc/localtime:/etc/localtime:ro
- $METADATA_DIR/generated:/generated
- $METADATA_DIR/metadata:/metadata
- $METADATA_DIR/cache:/cache
- $MEDIA_DIR/Videos:/media/Videos
- $MEDIA_DIR/Galleries:/media/Galleries
- $DOCKER_DATA:/root/.stash
env_file:
- path: ./stashapp.env
required: true
networks:
- web
labels:
- traefik.http.routers.stash.rule=Host(`stash.jafner.net`)
- traefik.http.routers.stash.tls.certresolver=lets-encrypt
- traefik.http.routers.stash.middlewares=traefik-forward-auth-privileged@file
networks:
web:
external: true