34 lines
927 B
YAML
34 lines
927 B
YAML
version: "3"
|
|
services:
|
|
stash:
|
|
container_name: stash
|
|
image: stashapp/stash:latest
|
|
logging:
|
|
driver: loki
|
|
options:
|
|
loki-url: http://localhost:3100/loki/api/v1/push
|
|
loki-batch-size: "50"
|
|
loki-retries: "1"
|
|
loki-timeout: "2s"
|
|
keep-file: "true"
|
|
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:
|
|
- stashapp.env
|
|
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@file
|
|
|
|
networks:
|
|
web:
|
|
external: true |