mirror of
https://github.com/zoriya/tide.git
synced 2025-12-05 22:56:12 +00:00
Setup aria2 in docker
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[{*.yaml,*.yml, .nix}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
8
.env.example
Normal file
8
.env.example
Normal file
@@ -0,0 +1,8 @@
|
||||
# IMPORTANT: Change that to actually secure your aria2 connection
|
||||
RPC_SECRET=wertyui
|
||||
|
||||
# User/Group IDs of newly downloaded files. To know your ids, run the `id` command.
|
||||
PUID=$UID
|
||||
PGID=$GID
|
||||
|
||||
# vi: ft=sh
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.env
|
||||
@@ -10,3 +10,14 @@ services:
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- ./api:/app
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
aria2:
|
||||
image: p3terx/aria2-pro
|
||||
ports:
|
||||
- "6888:6888"
|
||||
- "6888:6888/udp"
|
||||
restart: on-failure
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
@@ -4,3 +4,14 @@ services:
|
||||
api:
|
||||
build: ./api
|
||||
restart: on-failure
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
aria2:
|
||||
image: p3terx/aria2-pro
|
||||
ports:
|
||||
- "6888:6888"
|
||||
- "6888:6888/udp"
|
||||
restart: on-failure
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
Reference in New Issue
Block a user