fix: expose aria2 udp port

pull/3347/head
Aaron Liu 2 weeks ago
parent 5b823305d5
commit 3fd8aaa398

@ -2,6 +2,6 @@
nodaemon=false
[program:background_process]
command=aria2c --enable-rpc --save-session /cloudreve/data
command=aria2c --enable-rpc --save-session /cloudreve/data --listen-port 6888 --dht-listen-port 6888
autostart=true
autorestart=true

3
.gitignore vendored

@ -8,6 +8,8 @@
*.bin
/release/
application/statics/assets.zip
master_v4
slave_v4
# Test binary, build with `go test -c`
*.test
@ -34,3 +36,4 @@ data/
tmp/
.devcontainer/
cloudreve
.DS_Store

@ -22,7 +22,7 @@ COPY cloudreve ./cloudreve
RUN chmod +x ./cloudreve \
&& chmod +x ./entrypoint.sh
EXPOSE 5212 443
EXPOSE 5212 443 6888 6888/udp
VOLUME ["/cloudreve/data"]

Loading…
Cancel
Save