homelab/fighter/config/stashapp/docker-compose.yml
Joey Hafner 1109cfd9e6
All checks were successful
Deploy to Fighter / Deploy (push) Successful in 17s
Deploy to Druid / Deploy (push) Successful in 18s
Deploy to Fighter / Notify (push) Successful in 2s
Deploy to Druid / Notify (push) Successful in 9s
Update all compose files to 3.9 spec
2024-02-15 02:09:59 -08:00

27 lines
758 B
YAML

version: '3.9'
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