🔭 Welcome to my Github profile
wahyd4 / aria2-ariang-x-docker-compose Goto Github PK
View Code? Open in Web Editor NEWDocker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
🔭 Welcome to my Github profile
reboot了下
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
如何启动这个啊,,,小白一个 请大佬指教
跟着博客教程做的,可是外部存储配置不显示。一闪而过。
使用 Nextcloud 安装完成后,Nextcloud的管理界面能打开,也能正常使用,但是无法打开AriaNg: http://xxxxx:8000/aria2,这是为何?
个人比较喜欢用filerun. 设置给data及其以下的所有文件777以后,发现aria下载创建的文件和目录是在root下,文件是644和目录是755,所以www-data不能直接通过网页云端直接管理aria下载好的东西。每次都需要重新给这些文件覆盖777权限才能管理。有没什么更好的办法解决这个问题。
刚刚 aria2 不能保存配置的问题的原因
应该就是 root 下没有
/root/conf/key The folder which stored Aria2 SSL certificate and key file. Notice: The certificate file should be named aria2.crt and the key file should be named aria2.key
应该就是没有这个的原因?
这个要怎么处理 按你帮助里面的流程 弄的
新手不知道应该怎么写
aria2 好像不会保存配置?
docker-compose stop
docker-compose up -d
之后 下载记录和设置都没有了
用的是caddy吗?配置文件在哪?没找着
我用aria2下载的文件,拉回本地之后要删除。在nextcloud中无法直接删除。能解决吗?我现在都是ssh登录服务器中用命令删除。
抱歉打扰了,我目前没有linux基础,我不太明白重启服务器之后该启动什么。搭建还是比较顺利的,但是重启之后,我就发现nextcould无法打开了,aria2也连接不上。
能不能给我一个centos7的启动命令?
刚才我复制的内容有错
我没有启用https
你说的:
bash-4.3# ls
conf
bash-4.3# cd conf/
bash-4.3# ls
aria2.conf aria2c.sh key
bash-4.3# pwd
/root/conf
aria2.conf 即是配置文件,打开该文件,dir 配置这是文件下载目录
#文件保存路径, 默认为当前启动位置
dir=/var/www
我意思是没有 /root/conf 文件夹
aria2.conf aria2c.sh key 这3个文件也没有
我是按你介绍的步奏弄的
我的意思是你那边没有我说的问题码?
不要随意开issues 那么qq群或者tg群这类交流的地方有吗?
且我问的也不算特别基础吧?
是不是你的镜像 缺少了配置文件映射?
ERROR: for h5ai_aria2_1 Cannot start service aria2: b'driver failed programming external connectivity on endpoint h5ai_aria2_1 (5536bd10311cf127974361c8f472b3c8c95440511b3cbc80c256001df100f4e3): Bind for 0.0.0.0:8000 failed: port is already allocated'
ERROR: for aria2 Cannot start service aria2: b'driver failed programming external connectivity on endpoint h5ai_aria2_1 (5536bd10311cf127974361c8f472b3c8c95440511b3cbc80c256001df100f4e3): Bind for 0.0.0.0:8000 failed: port is already allocated'
ERROR: Encountered errors while bringing up the project.
从http://xxx:8000/aria2
进入,AriaNg只能显示文字,不能显示图形界面。caddy代理应该如何设置?是不是压缩比例过大了?
发表一下心声,能不能搞个一键安装。确实很需要这个离线下载。
看到端口不太舒服,最好上个 https
Plex一直显示找不到服务器,我记着默认不允许远程连接来着,这个怎么修改?
Refused to execute script from 'http://192.168.1.129:8000/js/aria-ng-4a60d788ec.min.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
aria2 管理显示不正常
version: '2'
services:
nextcloud:
image: wonderfall/nextcloud
volumes:
- /data/nextcloud:/data
- /data:/user-files
restart: always
aria2:
image: wahyd4/aria2-ariang:caddy-nextcloud
ports:
- "8000:80"
- "6800:6800"
- "83:443"
volumes_from:
- nextcloud
# volumes:
# - /some_folder:/root/conf/key
environment:
- DOMAIN=:80
# - SSL=true
# - RPC_SECRET=Hello
# - ARIA2_USER=admin
# - ARIA2_PWD=password
# - ENABLE_AUTH=true
links:
- nextcloud:file-manager
restart: always
你好,群晖的docker里下载了你的ariang,但是容器配置参数不知道具体怎么弄,页面里总是未连接,能麻烦详细讲一下容器配置吗
看运行日志是都正常的。卷只配置了/data文件夹,端口映射了相同的,但是就是无法连接、
谢谢!
standard_init_linux.go:190: exec user process caused "exec format error"
google了一番发现是架构不兼容(https://forums.docker.com/t/standard-init-linux-go-190-exec-user-process-caused-exec-format-error/49368)
设备:rock64
OS: openmediavault (debian 9)
如果是各类pi的用户,参见此repo
https://github.com/nextcloud/nextcloudpi
aria2下载磁力链接速度为0,如何添加tracker或dht文件?还有如果想自定义aria2的参数,在哪里可以找到aria2配置文件呢?
本机里用apache2搭建了两个站点而且绑定了域名,现在这个docker不知道如何绑定域名了。。。所以想直接把docker里的网站目录映射出来,通过apache配置文件绑定域名。
不知道大佬觉得可行吗,或者有更好的办法吗?
Hello,我通过运行
git clone https://github.com/wahyd4/aria2-ariang-x-docker-compose.git
cd aria2-ariang-x-docker-compose/nextcloud
docker-compose up
后访问 http://localhost:8000
返回 502 Bad Gateway
,请问这有可能是什么原因造成的?
访问 http://localhost:8000/aria2
可以正常访问。
输出的信息如下:
D:\Users\zhya\Desktop\filerun\aria2-ariang-x-docker-compose\nextcloud>docker-compose up
Creating network "nextcloud_default" with the default driver
Creating nextcloud_nextcloud_1 ... done
Creating nextcloud_aria2_1 ... done
Attaching to nextcloud_nextcloud_1, nextcloud_aria2_1
nextcloud_1 | Updating permissions...
nextcloud_1 | Updating permissions in /nextcloud...
aria2_1 | Run aria2c and ariaNG
aria2_1 | false
aria2_1 | Start aria2 with standard mode
aria2_1 | Activating privacy features... done.
aria2_1 | http://
aria2_1 | http:///aria2
aria2_1 | 10/Apr/2018:14:57:10 +0000 [ERROR 502 /] dial tcp 172.19.0.2:8888: getsockopt: connection refused
aria2_1 | 172.19.0.1 - - [10/Apr/2018:14:57:10 +0000] "GET / HTTP/1.1" 502 40
aria2_1 | 10/Apr/2018:14:57:10 +0000 [ERROR 502 /favicon.ico] dial tcp 172.19.0.2:8888: getsockopt: connection refused
aria2_1 | 172.19.0.1 - - [10/Apr/2018:14:57:10 +0000] "GET /favicon.ico HTTP/1.1" 502 16
aria2_1 | 10/Apr/2018:14:57:11 +0000 [ERROR 502 /] dial tcp 172.19.0.2:8888: getsockopt: connection refusedaria2_1 | 172.19.0.1 - - [10/Apr/2018:14:57:11 +0000] "GET / HTTP/1.1" 502 40
aria2_1 | 10/Apr/2018:14:57:11 +0000 [ERROR 502 /favicon.ico] dial tcp 172.19.0.2:8888: getsockopt: connection refusedaria2_1 | 172.19.0.1 - - [10/Apr/2018:14:57:11 +0000] "GET /favicon.ico HTTP/1.1" 502 16
aria2_1 | 10/Apr/2018:14:57:11 +0000 [ERROR 502 /] dial tcp 172.19.0.2:8888: getsockopt: connection refused
aria2_1 | 172.19.0.1 - - [10/Apr/2018:14:57:11 +0000] "GET / HTTP/1.1" 502 40aria2_1 | 10/Apr/2018:14:57:11 +0000 [ERROR 502 /favicon.ico] dial tcp 172.19.0.2:8888: getsockopt: connection refused
aria2_1 | 172.19.0.1 - - [10/Apr/2018:14:57:11 +0000] "GET /favicon.ico HTTP/1.1" 502 16aria2_1 | 10/Apr/2018:14:57:11 +0000 [ERROR 502 /] dial tcp 172.19.0.2:8888: getsockopt: connection refused
aria2_1 | 172.19.0.1 - - [10/Apr/2018:14:57:11 +0000] "GET / HTTP/1.1" 502 40
aria2_1 | 10/Apr/2018:14:57:11 +0000 [ERROR 502 /favicon.ico] dial tcp 172.19.0.2:8888: getsockopt: connection refused
#38 同样是这个问题,但是无法彻底解决,首先 目录只要是归属ROOT 就只有下载权限,但是aria下载的都是ROOT,手动将文件归属全部改成991后即可删除。
请问有什么一劳永逸的办法。。。
什么系统可以安装哦,文章里都没写,我用的centos7` 安装不上
[root@apkgm nextcloud]# #安装Docker Compose [root@apkgm nextcloud]# [root@apkgm nextcloud]# curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-
un
ame -s-
uname -m` -o /usr/local/bin/docker-compose
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 617 0 617 0 0 1171 0 --:--:-- --:--:-- --:--:-- 1173
100 8649k 100 8649k 0 0 3802k 0 0:00:02 0:00:02 --:--:-- 5415k
[root@apkgm nextcloud]#
[root@apkgm nextcloud]# chmod +x /usr/local/bin/docker-compose
[root@apkgm nextcloud]# git clone https://github.com/wahyd4/aria2-ariang-x-docker-compose.git
Cloning into 'aria2-ariang-x-docker-compose'...
remote: Counting objects: 305, done.
remote: Total 305 (delta 0), reused 0 (delta 0), pack-reused 305
Receiving objects: 100% (305/305), 676.57 KiB | 0 bytes/s, done.
Resolving deltas: 100% (132/132), done.
[root@apkgm nextcloud]#
[root@apkgm nextcloud]# cd aria2-ariang-x-docker-compose/nextcloud
[root@apkgm nextcloud]#
[root@apkgm nextcloud]# docker-compose up -d
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
[root@apkgm nextcloud]# Connection closed `
更改/root/aria2-ariang-x-docker-compose/nextcloud/docker-compose.yml文件里的端口号为80,但是没有生效,重启容器不行,重启主机也不行。
version: '2'
services:
nextcloud:
image: wonderfall/nextcloud
volumes:
- /data/nextcloud:/data
- /data:/user-files
restart: always
aria2:
image: wahyd4/aria2-ariang:caddy-nextcloud
ports:
- "80:80"
- "6800:6800"
- "443:443"
volumes_from:
- nextcloud
# volumes:
# - /some_folder:/root/conf/key
environment:
- DOMAIN=:80
# - SSL=true
# - RPC_SECRET=Hello
- ARIA2_USER=admin
- ARIA2_PWD=admin
- ENABLE_AUTH=true
links:
- nextcloud:file-manager
restart: always
ubuntu 16.04
安装nextcloud版本
前序安装环境都正常 docker运行后
ip:8000/aria2 无法显示或打开慢
ip:8000 502错误
安装报错
ERROR: for nextcloud_nextcloud_1 Cannot start service nextcloud: Mounts denied:
The paths /data and /data/nextcloud
are not shared from OS X and are not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.
.ERROR: for nextcloud Cannot start service nextcloud: Mounts denied:
The paths /data and /data/nextcloud
are not shared from OS X and are not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.
.
ERROR: Encountered errors while bringing up the project.
没太明白是什么原因,能看一下么
NextCloud第一次登陆设置密码和数据库时,提示无法创建或写入数据目录/data
environment:
- DOMAIN=demo.toozhao.com #这里输入你想要绑定的域名, 必须首先在域名管理处添加 A 记录。当我们仅仅通过 ip 访问时则应该改为: :80, 这表示绑定所有可以使用的 ip
- SSL=true #当值为 true 时,系统会自动启用 HTTPS
- RPC_SECRET=Hello #这个属性是 配置AriaNg 连接 Aria2 时需要,你可以输入你想要设置的密码。一旦设置了 HTTPS, Aria2 也只能使用 HTTPS。这时就必须使用该设置。
请问在域名后面是否需要指定 443 端口,比如:
- DOMAIN=demo.toozhao.com:443
该如何访问这个 HTTPS 协议,docker 是否在同时监听 80 端口和 443 端口,是否会自动从 80 端口跳转到 443 的 HTTPS 协议?
谢谢!
RT,因为我的数据大部分都是在/home/user/data/目录下,我想把h5ai展示的目录设置为这个目录?
还有如何设置aria2下载目录路径?
不好意思又打扰您了。
我使用filerun版本,安装完之后需要手动将data文件改为www:data用户,并给data文件赋予读写权限,之后http下载的文件可以使用filerun正常删除。
但是我用磁链和种子下载时,下载的文件依旧是root用户,读写权限也不对,重新使用chmod 766 -R和
chown www-data:www-data -R依旧无法解决问题。
非常感谢老司机带路,但是我看了一下,不知道如何设置aria2的下载位置,webui设置的下载位置无效。请问aria2的配置文件在哪里,我使用的是nextcloud组合。
进程显示的aria2的配置文件保存在/root/conf/aria2.conf路径,但是我的配置机器上并没有这个路径。请指教,谢谢。
老哥,如何在安装有nginx得前提下使用你这个docker 。。。
ERROR: for nextcloud_aria2_1 Cannot start service aria2: driver failed programming external connectivity on endpoint nextcloud_aria2_1 (fa260c77e779b968dafa5d61cba9ce8f44b3802e1a5307fe8c62279a44ea5dd9): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use
ERROR: for aria2 Cannot start service aria2: driver failed programming external connectivity on endpoint nextcloud_aria2_1 (fa260c77e779b968dafa5d61cba9ce8f44b3802e1a5307fe8c62279a44ea5dd9): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use
ERROR: Encountered errors while bringing up the project.
能不能监测到端口被占用的话 自动换其他端口?
请问,filerun的用户名密码多少?我用vps的帐号密码不对
使用的是Nextcloud,设置了ssl,通过域名打开出现了 “通过不被信任的域名访问”的提示
抱歉,网址结尾忘记带“/”
已经好了
从 #2 分离出一个需求
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.