해피 투게더

omv5 도커에서 nginx(webdav,php),transmission,torrssen2 설정 본문

장난감

omv5 도커에서 nginx(webdav,php),transmission,torrssen2 설정

보아요 2020. 8. 4. 14:48

jellyfin

hub.docker.com/r/linuxserver/jellyfin

포테이너 스택에 넣고 deploy, nas 에 무리가 가서 삭제함.

version: "2"
services:
  jellyfin:
    image: linuxserver/jellyfin:latest
    volumes:
      - /sharedfolders/public/docker/jellyfin/config:/config
      - /sharedfolders/public/docker/jellyfin/cache:/cache
      - /sharedfolders/public/Media/ENG:/data/dramaE
      - /sharedfolders/public/Media/KOR:/data/dramaK
      - /sharedfolders/public/Media/JAP:/data/dramaJ
      - /sharedfolders/public/Media/Movie:/data/movie
      - /sharedfolders/public/Media/TV:/data/tv
      - /sharedfolders/public/Media/Docu:/data/docu

    network_mode: bridge

    ports:
      - 8096:8096

 

omv5 로 오면서 sharedfolders 가 사용중지되어서 저장소 경로를 절대경로로 수정

version: "2.1"
services:
  transmission:
    image: linuxserver/transmission
    container_name: transmission
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Europe/London
      - TRANSMISSION_WEB_HOME=/combustion-release/ #optional
      - USER=dad #optional
      - PASS=admin #optional
    volumes:
      - /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M5SPE546-part2/hd2/docker/transmission:/config
      - /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M5NLPC0L-part2/hd1/torrent:/downloads
      - /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M5SPE546-part2/hd2/watch:/watch
      - /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M5SPE546-part2/hd2:/sharedfolders/public
    ports:
      - 9091:9091
      - 51413:51413
      - 51413:51413/udp
    restart: unless-stopped
    
  webdav:
    image: joajoa/nginx-php-fpm-webdav:armhf
    container_name: webtt
    volumes:
      - /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M5SPE546-part2/hd2:/var/www/hm
      - /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M5SPE546-part2/hd2/Media:/var/www/webhm
      - /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M5SPE546-part2/hd2/docker/nginx/conf.d:/etc/nginx/conf.d
    ports:
      - 2222:80
      - 2060:2060
      - 2080:2080
    restart: unless-stopped

    
  torrssen2:
    image: tarpha/torrssen2:latest-pi
    container_name: torrssen2
    volumes:
      - /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M5SPE546-part2/hd2/docker/torrssen2:/root/data
      - /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M5SPE546-part2/hd2/docker/torrssen2/done.sh:/torrssen2/docker/transmission/done.sh
    ports:
      - 8888:8080
    restart: unless-stopped