mirror of
https://github.com/cloudreve/cloudreve.git
synced 2026-04-18 12:09:40 +00:00
fix: expose aria2 udp port
This commit is contained in:
@@ -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
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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user