-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
76 lines (71 loc) · 1.62 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '3.8'
services:
db:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: filerun
MYSQL_USER: filerun
MYSQL_PASSWORD: filerun
MYSQL_DATABASE: filerun
restart: unless-stopped
nginx:
image: nginx:1.17
depends_on:
- filerun
- ariang
volumes:
- ${PWD}/conf/nginx/http.conf:/etc/nginx/nginx.conf
- ${PWD}/ssl:/etc/nginx/ssl
ports:
- 80:80
- 443:443
restart: unless-stopped
filerun:
image: afian/filerun
depends_on:
- db
links:
- db
volumes:
- ${PWD}/data/filerun-userfiles:/user-files
- ${PWD}/data/aria2-downloads:/user-files/downloads
restart: always
ariang:
image: p3terx/ariang
depends_on:
- aria2-pro
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 1m
aria2-pro:
image: p3terx/aria2-pro
environment:
- PUID=65534
- PGID=65534
- UMASK_SET=022
#set your RPC password
- RPC_SECRET=<your_password>
- RPC_PORT=6800
- LISTEN_PORT=6888
- DISK_CACHE=64M
- IPV6_MODE=true
- UPDATE_TRACKERS=true
- CUSTOM_TRACKER_URL=
- TZ=Asia/Shanghai
volumes:
- ${PWD}/conf/aria2:/config
- ${PWD}/data/aria2-downloads:/downloads
# If you use 'host' network mode, then no port mapping is required.
# This is your best choice when using IPv6.
network_mode: host
# ports:
# - 6800:6800
# - 6888:6888
# - 6888:6888/udp
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 1m