Files
compose-projects-arr/stash/docker-compose.yml
Christoph Califice 627a0b9f5d add gallery-dl to stash
2026-01-18 15:27:13 -03:00

52 lines
1.7 KiB
YAML

services:
stash:
image: stashapp/stash:latest
container_name: stash
restart: unless-stopped
## the container's port must be the same with the STASH_PORT in the environment section
ports:
- "9999:9999"
# - "8200:8200"
# - "1900:1900"
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "2m"
environment:
- STASH_STASH=/data/
- STASH_GENERATED=/generated/
- STASH_METADATA=/metadata/
- STASH_CACHE=/cache/
## Adjust below to change default port (9999)
- STASH_PORT=9999
volumes:
- /etc/localtime:/etc/localtime:ro
## Adjust below paths (the left part) to your liking.
## E.g. you can change ./config:/root/.stash to ./stash:/root/.stash
## Keep configs, scrapers, and plugins here.
- /home/ccalifice/docker-data/stash/config:/root/.stash
## Point this at your collection.
- /mnt/system:/data
## This is where your stash's metadata lives
- /mnt/ssd120/stash/metadata:/metadata
## Any other cache content.
- /mnt/ssd120/stash/cache:/cache
## Where to store binary blob data (scene covers, images)
- /mnt/ssd120/stash/blobs:/blobs
## Where to store generated content (screenshots,previews,transcodes,sprites)
#- ./generated:/generated
- /mnt/ssd120/stash/generated:/generated
gallery-dl:
image: qx6ghqkz/gallery-dl-server:latest
container_name: gallery-dl
ports:
- "9080:9080"
environment:
- "UID=1000"
- "GID=1002"
volumes:
- "/home/ccalifice/docker-data/gallery-dl/config:/config"
- "/mnt/system/gallery-dl:/gallery-dl"
restart: on-failure