Git Product home page Git Product logo

autohome-cinema's Introduction

🌟 自动化家庭影院 🌟

🐳 简介

最近折腾了一套自动化家庭影院,但是配置起来较为麻烦,所以利用 docker 方便部署和迁移的特点,提前配置好并打包,并利用脚本进行快速迁移部署,开箱即用,无须再对每个系统进行繁琐的配置

😊 本项目的大致流程

graph LR
    1[overseerr] == 手动请求电视剧/综艺/动漫 ==> 2[Sonarr] == 自动搜索/下载 ==> 3[JProxy] == 自动搜索 ==> 4[Prowlarr]
    1[overseerr] == 手动请求电影 ==> 6[Radarr] == 自动搜索/下载 ==> 3[JProxy]
    3[JProxy] == 自动下载 ==> 5[qBittorrent]
    2[Sonarr] == 自动导入 ==> 7[Plex]
    6[Radarr] == 自动导入 ==> 7[plex]
    7[Plex] == 自动刮削信息 ==> 7[Plex]
    11[用户] == 使用 ==> 8[浏览器/手机/电脑/电视] == 观看 ==> 7[Plex]
    11[用户] == 使用 ==> 1[overseerr]

🤗 本项目涉及系统

系统 功能 汉化 说明
Heimdall 程序仪表盘 导航页,自定义了 CSS 和 JS,开箱即用
Portainer 容器管理系统 方便启动或关闭容器,查看日志等
Emby 媒体服务器 刮削信息,提供观看服务
Plex 媒体服务器 刮削信息,提供观看服务
Overseerr 聚合搜索 搜索并推送到 Sonarr / Radarr
Radarr 电影订阅系统 定时搜索,下载,重命名并导入
Sonarr 电视剧和动漫订阅系统 定时搜索,下载,重命名并导入
Prowlarr 种子站代理 可添加种子站,提供种子搜索,支持结果缓存
FlareSolverr 绕过 Cloudflare 和 DDoS-GUARD - Prowlarr 已配置,无其他操作
JProxy 种子站代理过滤 介于 Sonarr / Radarr 和 Prowlarr / Prowlarr 之间的代理,主要用于优化查询和提升识别率
qBittorrent 下载客户端 qBittorrent
ChineseSubFinder 字幕下载 自动下载电影和电视剧字幕

Plex 0dd40b61ddab50361f6edb53058ea976

Overseerr image-20240208195053595

Radarr image-20240208195001217

Sonarr image-20240208194840857

qBittorrent image-20240208194623084

🔥 配置

💻 1. 硬件

名称 推荐配置 说明
CPU 4核 例如:J1900, J3160, J4125 等
GPU 非必要 主要用于 Emby 为转码提供硬件加速
内存 4G 4G 完全够用,2G 较为勉强
固态 32G 主要用于创建容器,保存配置
硬盘 512G 取决于你的视频数量
网络 100M 内网速率 100M 或以上,无线最好支持 5G

🐧 2. 系统

支持 docker, docker-compose 即可,例如:

  • debian
  • ubuntu
  • openwrt
  • unraid
  • 群晖 ......

🌐 3. 网络

🔥 重要事情说三遍,必须能够科学上网 🔥
🔥 重要事情说三遍,必须能够科学上网 🔥
🔥 重要事情说三遍,必须能够科学上网 🔥

执行以下命令,如果能够输出网页代码,则说明可以科学上网

curl https://www.youtube.com

🙏 如果你是能够处理以下问题的大佬,可以不用科学上网

  • 😢 docker 镜像拉取慢
  • 😰 无法访问 TMDB, TVDB
  • 😭 索引器经常无法使用

👨‍💻 安装

安装会用到以下命令,请先自行安装,这里仅提供 ubuntu / debian 的安装方式

apt install sudo git curl

1. 安装 docker 和 docker-compose

1.1. docker

执行下面的命令,如果有输出版本号证明已经安装

sudo docker -v

未安装,则执行下面的命令进行安装 (debian / ubuntu / centos)

sudo curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

其他系统请参考:菜鸟教程 或自行查阅相关资料

1.2. docker-compose

执行下面的命令,如果有输出版本号证明已经安装

sudo docker-compose -v

未安装,则执行下面的命令进行安装

sudo curl -L "https://github.com/docker/compose/releases/download/v2.11.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose

2. 安装 AutoHome-Cinema

2.1. 下载项目

sudo git clone https://github.com/LuckyPuppy514/automatic-theater.git

如果提示找不到 git 命令

  • 方法一:自行查找自己系统安装 git 的方式
  • 方法二:👆 点我下载 👆 解压后上传对应目录(记得修改目录名称为 automatic-theater

2.1. 修改配置文件

在 AutoHome-Cinema 目录下执行

sudo vi docker-compose-default.env
  • 删除:delete
  • 输入:i
  • 保存并退出:ESC 输入 :wq

不会使用 vi 可下载到本地修改后上传

2.3. 执行安装脚本

在 automatic-theater 目录下执行

sudo chmod -R 777 * && sudo ./install.sh

2.4. 拉取镜像

sudo docker-compose pull

因为镜像较多,拉取较慢,某个失败或卡着,ctrl+c 强制停止,再次执行即可,多试几次

2.4. 启动和关闭

启动

sudo docker-compose up -d

关闭

sudo docker-compose down

后续启动和关闭等操作可以在 Portainer 中执行 修改参数建议还是修改 docker-compose.yml 和 .env

📺 使用

graph LR
    1[Heimdall] == 1. 查看所有容器状态 ==> 2[Portainer]
    1[Heimdall] == 2. 搜索和请求电影/电视剧/动漫 ==> 3[Overseerr]
    1[Heimdall] == 3. 查看搜索结果 ==> 4[Sonarr / Radarr]
    1[Heimdall] == 4. 查看下载进度 ==> 5[qBittorrent]
    1[Heimdall] == 5. 观看 ==> 6[Emby/Plex]
名称 地址 用户名 密码
Heimdall https://ip:60211 - -
Portainer http://ip:60212 atm atm@20230101
FlareSolverr http://ip:60213 - -
Prowlarr http://ip:60223 atm atm@20230101
JProxy http://ip:60215 atm atm@20230101
Overseerr http://ip:60216 atm atm@20230101
Radarr http://ip:60217 atm atm@20230101
Sonarr http://ip:60218 atm atm@20230101
qBittorrent http://ip:60219 atm atm@20230101
ChineseSubFinder http://ip:60221 atm atm@20230101
Plex http://ip:60220 atm atm@20230101

🔥 注意:如需开启外网访问,注意修改对应系统的密码和 API Key,并同时修改其他系统中的配置 🔥

😘 如何贡献

非常欢迎你的加入!提一个 Issue 或者提交一个 Pull Request

autohome-cinema's People

Contributors

sayyiku avatar imgbotapp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.