Skip to content

Commit

Permalink
aria2
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Feb 27, 2024
1 parent fe214cb commit 07d867c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
5 changes: 4 additions & 1 deletion apps/aria2/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ W9_DIST=community
W9_VERSION=latest

W9_POWER_PASSWORD=Websoft9@P3TERX

# Environments which for user settings when create application
W9_DHT_PORT_SET=6888
W9_RPC_PORT_SET=6800
W9_HTTP_PORT_SET=8080

W9_HTTP_PORT=6880
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_ID=aria2-pro
W9_URL=appname.example.com
W9_LOGIN_USER=$W9_POWER_PASSWORD
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####
5 changes: 3 additions & 2 deletions apps/aria2/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ services:
- downloads:/downloads
ports:
- $W9_RPC_PORT_SET:6800
# - $W9_DHT_PORT_SET:6888
# - $W9_DHT_PORT_SET:6888/udp
# BT download port
- $W9_DHT_PORT_SET:6888
- $W9_DHT_PORT_SET:6888/udp
# Since Aria2 will continue to generate logs, limit the log size to 1M to prevent your hard disk from running out of space.
logging:
driver: json-file
Expand Down
3 changes: 3 additions & 0 deletions apps/aria2/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# About

This folder includes files mount to container and used by Websoft9
1 change: 0 additions & 1 deletion apps/aria2/src/get_version.sh

This file was deleted.

2 changes: 1 addition & 1 deletion apps/aria2/variables.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aria2",
"trademark": "Aria2",
"release": false,
"release": true,
"fork_url": "https://github.com/aria2/aria2",
"edition": [
{
Expand Down

0 comments on commit 07d867c

Please sign in to comment.