2022-06-23 22:01:26 -07:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
stash:
|
|
|
|
container_name: stash
|
|
|
|
image: stashapp/stash:latest
|
2022-07-13 13:35:56 -07:00
|
|
|
logging:
|
|
|
|
driver: loki
|
|
|
|
options:
|
|
|
|
loki-url: http://localhost:3100/loki/api/v1/push
|
|
|
|
loki-batch-size: "50"
|
|
|
|
loki-retries: "1"
|
|
|
|
loki-timeout: "2s"
|
2022-07-14 15:22:44 -07:00
|
|
|
keep-file: "true"
|
2022-07-13 10:47:27 -07:00
|
|
|
restart: "no"
|
2022-06-23 22:01:26 -07:00
|
|
|
volumes:
|
2022-06-23 22:03:44 -07:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2022-06-23 22:24:59 -07:00
|
|
|
- $METADATA_DIR/generated:/generated
|
|
|
|
- $METADATA_DIR/metadata:/metadata
|
|
|
|
- $METADATA_DIR/cache:/cache
|
2022-06-23 22:38:49 -07:00
|
|
|
- $MEDIA_DIR/Videos:/media/Videos
|
|
|
|
- $MEDIA_DIR/Galleries:/media/Galleries
|
2022-06-23 22:24:59 -07:00
|
|
|
- $DOCKER_DATA:/root/.stash
|
2022-06-23 22:01:26 -07:00
|
|
|
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
|
2022-10-23 18:33:44 -07:00
|
|
|
- traefik.http.routers.stash.middlewares=traefik-forward-auth@file
|
2022-06-23 22:01:26 -07:00
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|