Skip to content

Commit

Permalink
add seedbox qbittorrent
Browse files Browse the repository at this point in the history
  • Loading branch information
imxieke committed Sep 24, 2023
1 parent 10c2725 commit d3b5a6c
Show file tree
Hide file tree
Showing 42 changed files with 1,208 additions and 347 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/docker-traefik.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Docker Build Traefik

on:
workflow_dispatch:
branches:
- master
schedule:
- cron: '0 2 * * 1'

env:
REGISTRY: ghcr.io
IMAGE_NAME: traefik
IMAGE_TAGS: "latest 3.0"

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: |
for tag in ${IMAGE_TAGS}; do
docker build . -f images/${{ env.IMAGE_NAME }}/${tag}/Dockerfile -t ${{ vars.DOCKER_REGISTRY_GITHUB }}/dockenv/${{ env.IMAGE_NAME }}:${tag}
done
- name: Login Github Package Registry
run: |
docker login -u ${{vars.USERNAME}} -p "${{ secrets.APIKEY }}" ${{ vars.DOCKER_REGISTRY_GITHUB }}
- name: Push Docker Image To Github Package
run: |
for tag in ${IMAGE_TAGS}; do
docker push ${{ vars.DOCKER_REGISTRY_GITHUB }}/dockenv/${{ env.IMAGE_NAME }}:${tag}
done
23 changes: 10 additions & 13 deletions images/aria2/latest/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
FROM ghcr.io/dockenv/alpine:3.16
LABEL MAINTAINER="Cloudflying" \
MAIL="[email protected]"
FROM ghcr.io/dockenv/alpine:latest
LABEL org.opencontainers.image.title="Aria2" \
org.opencontainers.image.authors="Cloudflying <[email protected]>" \
org.opencontainers.image.source="https://github.com/dockenv/dockenv-images" \
org.opencontainers.image.url="https://dockenv.github.io" \
org.opencontainers.image.description='a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.'

COPY conf/ /etc/aria2c/

RUN sed -i 's/dl-cdn.alpinelinux.org/repo.huaweicloud.com/g' /etc/apk/repositories \
&& apk add --no-cache darkhttpd aria2 \
RUN apk add --no-cache aria2 \
&& mkdir -p /etc/aria2c \
&& chmod -R 777 /etc/aria2c \
&& mkdir -p /opt/ariang \
&& chmod -R 777 /opt/ariang \
&& cd /opt/ariang \
&& wget https://github.com/mayswind/AriaNg/releases/download/1.2.4/AriaNg-1.2.4-AllInOne.zip \
&& unzip AriaNg-1.2.4-AllInOne.zip && rm -fr LICENSE && rm -fr AriaNg-1.2.4-AllInOne.zip \
&& mkdir -p /data/downloads \
&& chmod -R 777 /etc/aria2c /data/downloads \
&& mv /etc/aria2c/entrypoint.sh /usr/bin/entrypoint.sh \
&& chmod +x /usr/bin/entrypoint.sh

# 6080 Aria2
# 6081 Aria2 WebUI
# 6802-6999 DOT Port
EXPOSE 6080 6081 6802-6999
EXPOSE 6080 6881-6999

CMD ["/usr/bin/entrypoint.sh"]
20 changes: 10 additions & 10 deletions images/aria2/latest/conf/aria2c.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ content-disposition-default-utf8=true
## 文件保存相关 ##

# 文件保存目录 Docker
dir=/data
dir=/data/downloads
# 断点续传
continue=true
# 始终尝试断点续传,无法断点续传则终止下载,默认:true
Expand All @@ -78,10 +78,10 @@ disk-cache=32M
log=/var/log/aria2.log

# 日志级别,可选 debug, info, notice, warn, error 。默认:debug
log-level=notice
log-level=debug

# 控制台日志级别,可选 debug, info, notice, warn, error ,默认:notice
console-log-level=notice
console-log-level=debug
# 下载进度摘要输出间隔时间(秒),0 为禁止输出。默认:60
summary-interval=0

Expand Down Expand Up @@ -110,7 +110,7 @@ input-file=/etc/aria2c/aria2c.session
# 在Aria2退出时保存错误的、未完成的下载任务到会话文件
save-session=/etc/aria2c/aria2c.session
# 定时保存会话, 0为退出时才保存, 需1.16.1以上版本, 默认:0
save-session-interval=60
save-session-interval=5
# 自动保存任务进度的间隔时间(秒),0 为进程正常退出时保存,默认:60
auto-save-interval=1
# 强制保存,即使任务已完成也保存信息到会话文件, 默认:false
Expand Down Expand Up @@ -146,10 +146,10 @@ rpc-max-request-size=10M
## 高级选项 ##

# 启用异步 DNS 功能。默认:true
#async-dns=true
async-dns=true

# 指定异步 DNS 服务器列表,未指定则从 /etc/resolv.conf 中读取。
#async-dns-server=119.29.29.29,223.5.5.5,8.8.8.8,1.1.1.1
async-dns-server=119.29.29.29,223.5.5.5,8.8.8.8,1.1.1.1
# 指定单个网络接口,可能的值:接口,IP地址,主机名
# 如果接口具有多个 IP 地址,则建议指定 IP 地址。
# 已知指定网络接口会影响依赖本地 RPC 的连接的功能场景,即通过 localhost 和 127.0.0.1 无法与 Aria2 服务端进行讯通。
Expand Down Expand Up @@ -182,7 +182,7 @@ bt-remove-unselected-file=true
# Try to download first and last pieces of each file first. This is useful for previewing files.
bt-prioritize-piece=head=32M,tail=32M
# BT监听端口, 当端口被屏蔽时使用, 默认:6881-6999
listen-port=6802-6999
listen-port=6881-6999
# 单个种子最大连接数, 默认:55
bt-max-peers=0
# 加载已保存的元数据文件(.torrent),默认:false
Expand All @@ -201,7 +201,7 @@ enable-dht=true
# 打开IPv6 DHT功能, PT需要禁用
enable-dht6=true
# DHT网络监听端口, 默认:6881-6999
dht-listen-port=6802-6999
dht-listen-port=6881-6999
# DHT(IPv4)文件
dht-file-path=/etc/aria2c/dht.dat
# DHT(IPv6)文件
Expand All @@ -216,7 +216,7 @@ bt-enable-lpd=true
# 种子交换, PT需要禁用, 默认:true
enable-peer-exchange=true
# 每个种子限速, 对少种的PT很有用, 默认:50K
#bt-request-peer-speed-limit=10M
# bt-request-peer-speed-limit=10M
# 客户端伪装, PT需要 -UT341- -TR2770- -TR2940-
peer-id-prefix=-TR2770-
# user-agent=uTorrent/341(109279400)(30888)
Expand All @@ -243,7 +243,7 @@ bt-tracker-connect-timeout=10
# BT tracker 服务器超时时间(秒)。默认:60
bt-tracker-timeout=10
# follow-torrent=mem
bt-tracker=http://1337.abcvg.info:80/announce,http://207.241.226.111:6969/announce,http://207.241.231.226:6969/announce,http://[2001:1b10:1000:8101:0:242:ac11:2]:6969/announce,http://[2a04:ac00:1:3dd8::1:2710]:2710/announce,http://dfireworks.eu.org:6969/announce,http://fxtt.ru:80/announce,http://i-p-v-6.tk:6969/announce,http://incine.ru:6969/announce,http://ipv4announce.sktorrent.eu:6969/announce,http://ipv6.1337.cx:6969/announce,http://ipv6.govt.hu:6969/announce,http://nyaa.tracker.wf:7777/announce,http://open-v6.demonoid.ch:6969/announce,http://open.acgnxtracker.com:80/announce,http://open.nyap2p.com:8080/announce,http://opentracker.i2p.rocks:6969/announce,http://opentracker.xyz:80/announce,http://retracker.hotplug.ru:2710/announce,http://share.camoe.cn:8080/announce,http://t.acg.rip:6699/announce,http://t.nyaatracker.com:80/announce,http://t.overflow.biz:6969/announce,http://t.publictracker.xyz:6969/announce,http://torrent-team.net:80/announce.php,http://torrenttracker.nwc.acsalaska.net:6969/announce,http://tr.cili001.com:8070/announce,http://tracker.aeerso.space:6969/announce,http://tracker.birkenwald.de:6969/announce,http://tracker.bt4g.com:2095/announce,http://tracker.dler.com:6969/announce,http://tracker.dler.org:6969/announce,http://tracker.files.fm:6969/announce,http://tracker.gbitt.info:80/announce,http://tracker.ipv6tracker.ru:80/announce,http://tracker.k.vu:6969/announce,http://tracker.lelux.fi:80/announce,http://tracker.mywaifu.best:6969/announce,http://tracker.noobsubs.net:80/announce,http://tracker.opentrackr.org:1337/announce,http://tracker.srv00.com:6969/announce,http://tracker1.itzmx.com:8080/announce,http://tracker2.dler.org:80/announce,http://tracker2.itzmx.com:6961/announce,http://tracker3.itzmx.com:6961/announce,http://vps02.net.orel.ru:80/announce,http://widemus.de:6969/announce,https://1337.abcvg.info:443/announce,https://carbon-bonsai-621.appspot.com:443/announce,https://chihaya-heroku.120181311.xyz:443/announce,https://opentracker.i2p.rocks:443/announce,https://tr.abiir.top:443/announce,https://tr.abir.ga:443/announce,https://tr.burnabyhighstar.com:443/announce,https://tr.ready4.icu:443/announce,https://track.plop.pm:8989/announce,https://tracker.4.babico.name.tr:443/announce,https://tracker.expli.top:443/announce,https://tracker.foreverpirates.co:443/announce,https://tracker.imgoingto.icu:443/announce,https://tracker.kuroy.me:443/announce,https://tracker.lelux.fi:443/announce,https://tracker.lilithraws.cf:443/announce,https://tracker.lilithraws.org:443/announce,https://tracker.logirl.moe:443/announce,https://tracker.nanoha.org:443/announce,https://tracker.tamersunion.org:443/announce,https://tracker1.520.jp:443/announce,https://trackme.theom.nz:443/announce,https://xtremex.herokuapp.com:443/announce,udp://184.105.151.166:6969/announce,udp://207.241.226.111:6969/announce,udp://207.241.231.226:6969/announce,udp://52.58.128.163:6969/announce,udp://6ahddutb1ucc3cp.ru:6969/announce,udp://9.rarbg.com:2810/announce,udp://91.216.110.52:451/announce,udp://960303.xyz:6969/announce,udp://[2001:1b10:1000:8101:0:242:ac11:2]:6969/announce,udp://[2001:470:1:189:0:1:2:3]:6969/announce,udp://[2a03:7220:8083:cd00::1]:451/announce,udp://[2a04:ac00:1:3dd8::1:2710]:2710/announce,udp://[2a0f:e586:f:f::220]:6969/announce,udp://aarsen.me:6969/announce,udp://admin.videoenpoche.info:6969/announce,udp://astrr.ru:6969/announce,udp://ben.kerbertools.xyz:6969/announce,udp://black-bird.ynh.fr:6969/announce,udp://bt.ktrackers.com:6666/announce,udp://bt1.archive.org:6969/announce,udp://bt2.archive.org:6969/announce,udp://bubu.mapfactor.com:6969/announce,udp://camera.lei001.com:6969/announce,udp://chennuo.xyz:6969/announce,udp://concen.org:6969/announce,udp://cutiegirl.ru:6969/announce,udp://cutscloud.duckdns.org:6969/announce,udp://davidkirkevans.com:6969/announce,udp://epider.me:6969/announce,udp://exodus.desync.com:6969/announce,udp://fe.dealclub.de:6969/announce,udp://fh2.cmp-gaming.com:6969/announce,udp://free.open.tracker.4.starka.st:15480/announce,udp://h3o2.me:1337/announce,udp://htz3.noho.st:6969/announce,udp://ipv4.tracker.harry.lu:80/announce,udp://ipv6.69.mu:6969/announce,udp://ipv6.tracker.harry.lu:80/announce,udp://ipv6.tracker.monitorit4.me:6969/announce,udp://isk.richardsw.club:6969/announce,udp://itera.bz:6969/announce,udp://k1.com.br:6969/announce,udp://keke.re:6969/announce,udp://laze.cc:6969/announce,udp://lloria.fr:6969/announce,udp://mail.artixlinux.org:6969/announce,udp://mail.zasaonsk.ga:6969/announce,udp://mirror.aptus.co.tz:6969/announce,udp://moonburrow.club:6969/announce,udp://movies.zsw.ca:6969/announce,udp://mserver.link:6969/announce,udp://mts.tvbit.co:6969/announce,udp://new-line.net:6969/announce,udp://open.demonii.com:1337/announce,udp://open.free-tracker.ga:6969/announce,udp://open.publictracker.xyz:6969/announce,udp://open.stealth.si:80/announce,udp://open.tracker.cl:1337/announce,udp://open.tracker.ink:6969/announce,udp://open.xxtor.com:3074/announce,udp://opentor.org:2710/announce,udp://opentracker.i2p.rocks:6969/announce,udp://p4p.arenabg.com:1337/announce,udp://psyco.fr:6969/announce,udp://public.publictracker.xyz:6969/announce,udp://qtstm32fan.ru:6969/announce,udp://rep-art.ynh.fr:6969/announce,udp://retracker.hotplug.ru:2710/announce,udp://retracker.lanta-net.ru:2710/announce,udp://run.publictracker.xyz:6969/announce,udp://sanincode.com:6969/announce,udp://shizzle.hammetjus.nl:6969/announce,udp://smtp-relay.odysseylabel.com.au:6969/announce,udp://smtp.flawcra.cc:6969/announce,udp://tamas3.ynh.fr:6969/announce,udp://themaninashed.com:6969/announce,udp://thouvenin.cloud:6969/announce,udp://thug.rocks:6969/announce,udp://torrentclub.space:6969/announce,udp://torrents.artixlinux.org:6969/announce,udp://tr.bangumi.moe:6969/announce,udp://tr.cili001.com:8070/announce,udp://tracker.0x.tf:6969/announce,udp://tracker.4.babico.name.tr:3131/announce,udp://tracker.6.babico.name.tr:6969/announce,udp://tracker.altrosky.nl:6969/announce,udp://tracker.artixlinux.org:6969/announce,udp://tracker.auctor.tv:6969/announce,udp://tracker.beeimg.com:6969/announce,udp://tracker.birkenwald.de:6969/announce,udp://tracker.bitsearch.to:1337/announce,udp://tracker.cyberia.is:6969/announce,udp://tracker.ddunlimited.net:6969/announce,udp://tracker.dler.com:6969/announce,udp://tracker.dler.org:6969/announce,udp://tracker.edkj.club:6969/announce,udp://tracker.filemail.com:6969/announce,udp://tracker.jordan.im:6969/announce,udp://tracker.leech.ie:1337/announce,udp://tracker.lelux.fi:6969/announce,udp://tracker.moeking.me:6969/announce,udp://tracker.monitorit4.me:6969/announce,udp://tracker.openbittorrent.com:6969/announce,udp://tracker.opentrackr.org:1337/announce,udp://tracker.pomf.se:80/announce,udp://tracker.publictracker.xyz:6969/announce,udp://tracker.srv00.com:6969/announce,udp://tracker.swateam.org.uk:2710/announce,udp://tracker.theoks.net:6969/announce,udp://tracker.tiny-vps.com:6969/announce,udp://tracker.torrent.eu.org:451/announce,udp://tracker.zemoj.com:6969/announce,udp://tracker1.bt.moack.co.kr:80/announce,udp://tracker1.itzmx.com:8080/announce,udp://tracker1.myporn.club:9337/announce,udp://tracker2.dler.com:80/announce,udp://tracker2.dler.org:80/announce,udp://tracker2.itzmx.com:6961/announce,udp://tracker3.itzmx.com:6961/announce,udp://tracker4.itzmx.com:2710/announce,udp://tracker6.lelux.fi:6969/announce,udp://transkaroo.joustasie.net:6969/announce,udp://u4.trakx.crim.ist:1337/announce,udp://uploads.gamecoast.net:6969/announce,udp://v2.iperson.xyz:6969/announce,udp://vibe.sleepyinternetfun.xyz:1738/announce,udp://www.2600.com:6969/announce,udp://www.torrent.eu.org:451/announce,udp://yahor.ftp.sh:6969/announce,udp://zecircle.xyz:6969/announce,ws://hub.bugout.link:80/announce,wss://tracker.openwebtorrent.com:443/announceudp://tracker.opentrackr.org:1337/announce,http://tracker.openbittorrent.com:80/announce,udp://explodie.org:6969/announce,http://tracker3.ctix.cn:2095/announce,http://tracker2.ctix.cn:2095/announce,http://tracker.nucozer-tracker.ml:2710/announce,http://tracker.corpscorp.online:80/announce,http://retracker.joxnet.ru:80/announce,http://open.tracker.ink:6969/announce,http://bt.okmp3.ru:2710/announce,udp://tracker.skyts.net:6969/announce,udp://public.tracker.vraphim.com:6969/announce,udp://bt.oiyo.tk:6969/announce,https://tracker.4.babico.name.tr/announce,http://tracker1.bt.moack.co.kr:80/announce,http://tracker.skyts.net:6969/announce,http://open.acgtracker.com:1096/announce0.159171sShowPageTrace
bt-tracker=

## 执行额外命令 ##

Expand Down
File renamed without changes.
File renamed without changes.
15 changes: 4 additions & 11 deletions images/aria2/latest/conf/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
###
# @Author: Cloudflying
# @Date: 2021-09-19 01:25:54
# @LastEditTime: 2022-07-14 17:36:57
# @LastEditTime: 2023-09-24 21:50:52
# @LastEditors: Cloudflying
# @Description:
# @FilePath: /dockenv/images/aria2/latest/conf/entrypoint.sh
Expand All @@ -12,31 +12,24 @@ if [[ -z "${ARIA2_PORT}" ]]; then
ARIA2_PORT=6800
fi

if [[ -z "${WEBUI_PORT}" ]]; then
WEBUI_PORT=6801
fi

if [[ -z "${DHT_PORT}" ]]; then
DHT_PORT='6802-6999'
DHT_PORT='6881-6999'
fi

if [[ -z "${RPC_SECRET}" ]]; then
RPC_SECRET='haspwd'
RPC_SECRET='dockenv'
fi

sed -i "s/rpc-listen-port=.*/rpc-listen-port=${ARIA2_PORT}/g" ${ARIA2_CONF}
sed -i "s/rpc-secret=.*/rpc-secret=${RPC_SECRET}/g" ${ARIA2_CONF}
sed -i "s/dht-listen-port.*/dht-listen-port=${DHT_PORT}/g" ${ARIA2_CONF}

aria2c --conf-path=/etc/aria2c/aria2c.conf -D
darkhttpd /opt/ariang --port ${WEBUI_PORT} --daemon >>/dev/null
echo -e "
Welcome to Aria2c Container is Running
Welcome to Use Aria2c Container
Aria2 Port : 127.0.0.1:${ARIA2_PORT}
WEBUI Port : 127.0.0.1:${WEBUI_PORT}
RPC Secret : ${RPC_SECRET}
"
touch /var/log/aria2.log
tail -f /var/log/aria2.log
File renamed without changes.
File renamed without changes.
File renamed without changes.
34 changes: 34 additions & 0 deletions images/boxs/seed/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# hadolint ignore=DL3007
FROM ghcr.io/dockenv/alpine:latest
LABEL org.opencontainers.image.title="Seedbox" \
org.opencontainers.image.authors="Cloudflying <[email protected]>" \
org.opencontainers.image.source="https://github.com/dockenv/dockenv-images" \
org.opencontainers.image.url="https://dockenv.github.io" \
org.opencontainers.image.description='seedbox: Torrent Downloader, File Viewer'

ENV ARIA2_USER='dockenv' \
ARIA2_PWD='dockenv' \
ENABLE_AUTH=true

COPY conf /conf

RUN sh /conf/init.sh \
&& rm -fr /tmp/*

VOLUME [ "/data" ]

USER dockenv
WORKDIR /home/dockenv

EXPOSE 80 6800 6881/tcp 6881/udp
# Deluge
EXPOSE 8112 58846 58946 58946/udp
# JellyFin
EXPOSE 8096 8920
# mylar3
EXPOSE 8090

# dht qbittorrent
EXPOSE 6881

CMD ["/usr/bin/entrypoint.sh"]
88 changes: 88 additions & 0 deletions images/boxs/seed/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
## Seedbox

### 安装的软件 (alpine)

### BT 客户端
- qbittorrent-nox
- transmission
- aria2 (含 ariang aria2-web)
- deluge (文件略大)

### 工具
- Samba
- ffmpeg (转码)
- filebrowser
- minidlna

### TODO
- syncthing
- caddy
- KodCloud
- [plex](https://www.plex.tv/)
- [jackett](https://github.com/Jackett/Jackett)
- [sonarr](https://sonarr.tv/)
- [radarr](https://github.com/Radarr/Radarr)
- calibre
- calibre-web
- taisun
- heimdall
- bazarr
- tdarr
- ddclient
- https://github.com/airsonic/airsonic
- https://overseerr.dev/
- https://github.com/Fallenbagel/jellyseerr
- https://lidarr.audio/#downloads-v1-linux
- https://github.com/SickChill/sickchill
- https://github.com/SickGear/SickGear
- ombi
- lidarr
- [readarr](https://github.com/Readarr/Readarr)
- https://sabnzbd.org/
- https://github.com/Flexget/Flexget
- https://www.audiobookshelf.org/
- https://wiki.servarr.com/prowlarr
- https://github.com/Prowlarr/Prowlarr
- Jellyfin https://repo.jellyfin.org/releases/server/linux/stable/ https://github.com/jellyfin/jellyfin
- https://github.com/tylergibbs2/Tsundoku
- https://github.com/Tautulli/Tautulli
- https://github.com/nzbget/nzbget 停止更新
- https://github.com/rembo10/headphones
- x2goserver (apk)
- znc (apk)
- https://github.com/gotson/komga
- https://github.com/plexinc/pms-docker
- https://github.com/janeczku/calibre-web (pip)
- https://github.com/kovidgoyal/calibre
- https://home.tdarr.io (太大 1G 不支持 Alpine)
- https://github.com/6c65726f79/Transmissionic/releases/download/v1.8.0/Transmissionic-webui-v1.8.0.zip
- https://github.com/linuxserver/docker-lazylibrarian
- https://github.com/linuxserver/docker-mylar3
- https://github.com/linuxserver/docker-lidarr
- https://github.com/bubuntux/nordvpn

## Tools
- https://github.com/mescon/Muximux php manage tools
- glances, plexPy monitoring tools

## Trackerlist
- https://github.com/ngosang/trackerslist
- https://github.com/XIU2/TrackersListCollection
- https://github.com/DeSireFire/animeTrackerList (偏向于动漫)
- http://github.itzmx.com/1265578519/OpenTracker/master/tracker.txt
- https://api.xiaoz.org/trackerslist/ (aria2)

- https://trackerslist.com
- https://newtrackon.com/list
- https://newtrackon.com/api/all
- https://tinytorrent.net/best-torrent-tracker-list-updated

### Aria2 WebUI
- https://github.com/mayswind/AriaNg


## 第三方客户端
- https://github.com/userdocs/qbittorrent-nox-static

### Config
- https://github.com/ivan-pinatti/docker-torrent-box-with-vpn
Binary file added images/boxs/seed/conf/autobrr/autobrr.db
Binary file not shown.
Binary file added images/boxs/seed/conf/autobrr/autobrr.db-shm
Binary file not shown.
Binary file added images/boxs/seed/conf/autobrr/autobrr.db-wal
Binary file not shown.
61 changes: 61 additions & 0 deletions images/boxs/seed/conf/autobrr/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# config.toml

# Hostname / IP
#
# Default: "localhost"
#
host = "0.0.0.0"

# Port
#
# Default: 7474
#
port = 8080

# Base url
# Set custom baseUrl eg /autobrr/ to serve in subdirectory.
# Not needed for subdomain, or by accessing with the :port directly.
#
# Optional
#
#baseUrl = "/autobrr/"

# autobrr logs file
# If not defined, logs to stdout
# Make sure to use forward slashes and include the filename with extension. eg: "log/autobrr.log", "C:/autobrr/log/autobrr.log"
#
# Optional
#
logPath = "/var/log/autobrr.log"

# Log level
#
# Default: "DEBUG"
#
# Options: "ERROR", "DEBUG", "INFO", "WARN", "TRACE"
#
logLevel = "DEBUG"

# Log Max Size
#
# Default: 50
#
# Max log size in megabytes
#
#logMaxSize = 50

# Log Max Backups
#
# Default: 3
#
# Max amount of old log files
#
#logMaxBackups = 3

# Check for updates
#
checkForUpdates = true

# Session secret
#
sessionSecret = "c615ac2e75f66f3a218fbf886cef5a32"
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash


USER='www'
VERSION=$(bin/aria2c -v | grep 'aria2 version' | awk -F ' ' '{print $3}')
CONF=`pwd`/aria2c.conf
CONF=$(pwd)/aria2c.conf

# 检查环境 不足则补充
env()
Expand Down
Loading

0 comments on commit d3b5a6c

Please sign in to comment.