[新服务] metatube 日本成人影片刮削器 MetaTube 的搭建与配置教程

date
Mar 8, 2024
slug
newservice-metatube-av-scan
status
Published
summary
新服务-
tags
service
type
Post
URL
 

Summary

步骤

#1 backend (at remote, ok)

 
mkdir metatube-sdk-go && cd metatube-sdk-go

curl -sL https://raw.githubusercontent.com/metatube-community/metatube-sdk-go/main/docker-compose.yml -o docker-compose.yml
# or 
cat > docker-compose.yml <<EOF
version: "3"
services:
    metatube:
        image: metatube/metatube-server:latest
        container_name: metatube
        #ports:
        #    - 8080:8080
        restart: unless-stopped
        depends_on:
            - postgres
        environment:
            - HTTP_PROXY=
            - HTTPS_PROXY=
        volumes:
            - ./run:/var/run
        command: -dsn "postgres://metatube:metatube@/metatube?host=/var/run/postgresql" -port 8080 -db-auto-migrate -db-prepared-stmt -token "abp@K"
        networks:
          - metatube-sdk-go-network
          - npm_nginx_proxy_manager-network

    postgres:
        image: postgres:15-alpine
        container_name: metatube-postgres
        restart: unless-stopped
        environment:
            - POSTGRES_USER=metatube
            - POSTGRES_PASSWORD=metatube
            - POSTGRES_DB=metatube
        volumes:
            - ./db:/var/lib/postgresql/data
            - ./run:/var/run
        command: "-c TimeZone=Asia/Shanghai -c log_timezone=Asia/Shanghai -c listen_addresses='' -c unix_socket_permissions=0777"
        networks:
          - metatube-sdk-go-network
networks:
  metatube-sdk-go-network:
  npm_nginx_proxy_manager-network:
    external: true
EOF

docker-compose down; docker-compose up -d; sleep 1s; docker-compose logs -f
notion image

#2 synology plex

https_proxy=http://127.0.0.1:15004 http_proxy=http://127.0.0.1:15004 all_proxy=socks5://127.0.0.1:15004 brew install -y zip

cd /volume1/PlexMediaServer/AppData/Plex\ Media\ Server/

wget https://github.com/metatube-community/metatube-plex-plugins/releases/download/bundle/MetaTube.bundle.zip && unzip MetaTube.bundle.zip
wget https://github.com/metatube-community/metatube-plex-plugins/releases/download/bundle/MetaTubeHelper.bundle.zip && unzip MetaTubeHelper.bundle.zip

notion image
notion image

验证

notion image

© Ying Bun 2021 - 2024