move stash generated location

This commit is contained in:
Christoph Califice
2025-10-11 17:47:34 -03:00
parent c9d4480e96
commit 295bcba288
5 changed files with 307 additions and 89 deletions

View File

@@ -39,48 +39,48 @@ defaults:
sprites: false
transcodes: false
identify_task:
sources:
- source:
stashboxindex: null
stashboxendpoint: null
scraperid: builtin_autotag
options:
fieldoptions: []
setcoverimage: null
setorganized: false
includemaleperformers: null
skipmultiplematches: true
skipmultiplematchtag: null
skipsinglenameperformers: true
skipsinglenameperformertag: null
- source:
stashboxindex: null
stashboxendpoint: https://stashdb.org/graphql
scraperid: null
options: null
options:
fieldoptions:
- field: title
- createmissing: false
field: title
strategy: IGNORE
createmissing: false
- field: studio
- createmissing: true
field: studio
strategy: MERGE
createmissing: true
- field: performers
- createmissing: true
field: performers
strategy: MERGE
createmissing: true
- field: tags
- createmissing: true
field: tags
strategy: MERGE
createmissing: true
includemaleperformers: true
setcoverimage: false
setorganized: false
includemaleperformers: true
skipmultiplematches: true
skipmultiplematchtag: null
skipsinglenameperformers: true
skipsinglenameperformertag: null
sceneids: []
paths: []
sceneids: []
sources:
- options:
fieldoptions: []
includemaleperformers: null
setcoverimage: null
setorganized: false
skipmultiplematches: true
skipmultiplematchtag: null
skipsinglenameperformers: true
skipsinglenameperformertag: null
source:
scraperid: builtin_autotag
stashboxendpoint: null
stashboxindex: null
- options: null
source:
scraperid: null
stashboxendpoint: https://stashdb.org/graphql
stashboxindex: null
scan_task:
scangenerateclippreviews: true
scangeneratecovers: true
@@ -146,8 +146,8 @@ stash:
excludevideo: false
path: /data/
stash_boxes:
- endpoint: https://stashdb.org/graphql
apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJhMmU5NTc3Ny0zOGEwLTQwMWYtYWMxNC01MjBkZmFjOWJhOTMiLCJzdWIiOiJBUElLZXkiLCJpYXQiOjE3NTk3NjAxMjV9.gOzykd_FyhgUNiircH9gE7S3nvLQrNMQ_26yzupVMkY
- apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJhMmU5NTc3Ny0zOGEwLTQwMWYtYWMxNC01MjBkZmFjOWJhOTMiLCJzdWIiOiJBUElLZXkiLCJpYXQiOjE3NTk3NjAxMjV9.gOzykd_FyhgUNiircH9gE7S3nvLQrNMQ_26yzupVMkY
endpoint: https://stashdb.org/graphql
name: stash-box
theme_color: '#202b33'
ui:

View File

@@ -32,62 +32,12 @@ services:
## Point this at your collection.
- /mnt/system:/data
## This is where your stash's metadata lives
- ./metadata:/metadata
- /mnt/ssd120/stash/metadata:/metadata
## Any other cache content.
- ./cache:/cache
- /mnt/ssd120/stash/cache:/cache
## Where to store binary blob data (scene covers, images)
- ./blobs:/blobs
- /mnt/ssd120/stash/blobs:/blobs
## Where to store generated content (screenshots,previews,transcodes,sprites)
- ./generated:/generated
#- ./generated:/generated
- /mnt/ssd120/stash/generated:/generated
- ./cron/15min:/etc/periodic/15min
postgres:
container_name: postgres-stash-box
#build: ./postgres
image: postgres:14-alpine
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: asdf1234
POSTGRES_DB: postgres
volumes:
- ./pgdata:/var/lib/postgresql/data
stash-box:
container_name: stash-box
image: stashapp/stash-box:latest
restart: unless-stopped
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "2m"
links:
- postgres
volumes:
- ./stash-box-config:/root/.stash-box
# labels:
# - traefik.http.routers.stash-box.rule=Host(`<DOMAIN>`)
# - traefik.http.routers.stash-box.tls=true
# - traefik.http.routers.stash-box.tls.certresolver=stash-box
# - traefik.port=9998
# traefik:
# container_name: traefik
# image: traefik:2.3
# restart: unless-stopped
# ports:
# - 80:80
# - 443:443
# command:
# - "--entrypoints.web.address=:80"
# - "--entrypoints.websecure.address=:443"
# - "--entryPoints.web.http.redirections.entryPoint.to=websecure"
# - "--entryPoints.web.http.redirections.entryPoint.scheme=https"
# - "--providers.docker=true"
# - "--certificatesResolvers.stash-box.acme.email=<EMAIL>"
# - "--certificatesResolvers.stash-box.acme.storage=/acme.json"
# - "--certificatesresolvers.stash-box.acme.tlschallenge=true"
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock:ro
# - /traefik/acme.json:/acme.json