
Starshapp은 docker 기반에 동영상 및 이미지 갤러리를 구축할 수 있습니다.
설치하여 사용해본 결과 아래와 같은 장단점이 있습니다.
동영상(자막기능 안됨), 이미지 갤러리, 사용자 인증기능이 없으므로 누구나 들어와서 볼 수 있다.
파일 업로드 기능이 없으므로 별도로 서버에 파일을 올려 두어야 한다.
설치방법:
$ sudo mkdir stashapp && cd stashapp
$ sudo curl -o docker-compose.yml https://raw.githubusercontent.com/stashapp/stash/master/docker/production/docker-compose.yml
다운로드 받은 docker-compose.yml 파일을 열어서 필요한 설정 값을 자신에게 맞게 변경한다.
$ sudo docker-compose up -d
웹브라우저로 접속
http://yourdomain or ip:9999
참고) docker-compose.yml 파일
# APPNICENAME=Stash
# APPDESCRIPTION=An organizer for your porn, written in Go
version: '3.4'
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"
## If you intend to use stash's DLNA functionality uncomment the below network mode and comment out the above ports section
# network_mode: host
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.
- ./config:/root/.stash
## Point this at your collection.
- ./data:/data
## This is where your stash's metadata lives
- ./metadata:/metadata
## Any other cache content.
- ./cache:/cache
## Where to store generated content (screenshots,previews,transcodes,sprites)
- ./generated:/generated