homelab/server/config/stashapp/docker-compose.yml
Joey Hafner ec40c3f7d4 Add Authentik simple services:
- jdownloader2
- librespeed
- navidrome
- stashapp
- uptime-kuma
- wg-easy
2022-07-08 22:57:08 -07:00

29 lines
835 B
YAML

version: "3"
services:
stash:
container_name: stash
image: stashapp/stash:latest
restart: unless-stopped
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
environment:
- STASH_STASH=/media/
- STASH_GENERATED=/generated/
- STASH_METADATA=/metadata/
- STASH_CACHE=/cache/
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=lan-only@file,authentik@file
networks:
web:
external: true