55 lines
1.9 KiB
YAML
55 lines
1.9 KiB
YAML
# APPNICENAME=Stash
|
|
# APPDESCRIPTION=An organizer for your porn, written in Go
|
|
name: stashapp
|
|
services:
|
|
app:
|
|
image: stashapp/stash:latest
|
|
restart: unless-stopped
|
|
## the container's port must be the same with the STASH_PORT in the environment section
|
|
networks:
|
|
- proxy-net
|
|
expose:
|
|
- "9999"
|
|
environment:
|
|
- STASH_STASH=/data/
|
|
- STASH_GENERATED=/generated/
|
|
- STASH_METADATA=/metadata/
|
|
- STASH_CACHE=/cache/
|
|
- STASH_EXTERNAL_HOST=https://stash.tremendousturtle.tools
|
|
## 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.
|
|
- ./config:/root/.stash
|
|
## Point this at your collection.
|
|
- /media/raid/junk_transfer:/data
|
|
- /media/junk/new_transfer:/data/new_transfer
|
|
- /media/raid/stash:/stash
|
|
- /media/junk/junk:/junk
|
|
- /media/raid/junk_movies_transfer:/movies
|
|
- /media/raid/junk_pack_transfer:/packs
|
|
## This is where your stash's metadata lives
|
|
- ./data/metadata:/metadata
|
|
## Any other cache content.
|
|
- ./data/cache:/cache
|
|
## Where to store binary blob data (scene covers, images)
|
|
- ./data/blobs:/blobs
|
|
## Where to store plugins
|
|
- ./data/plugins:/plugins
|
|
## Where to store scrapers
|
|
- ./data/scrapers:/scrapers
|
|
## Where to store database file
|
|
- ./data/db:/db
|
|
## Custom DupFileManager plugin
|
|
- /code/Axter-Stash-Gitea/plugins/DupFileManager:/plugins/community/DupFileManager
|
|
- /code/Axter-Stash-Gitea/plugins/DupFileManager/web:/custom_web
|
|
## Where to store generated content (screenshots,previews,transcodes,sprites)
|
|
- /media/stashapp/generated:/generated
|
|
|
|
networks:
|
|
proxy-net:
|
|
external: true |