first commit
This commit is contained in:
42
aria2/docker-compose.yml
Normal file
42
aria2/docker-compose.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
# merged.
|
||||
# for manual deploy, see https://www.cnblogs.com/wqp001/p/14709997.html
|
||||
|
||||
services:
|
||||
aria2:
|
||||
image: p3terx/aria2-pro
|
||||
container_name: aria2
|
||||
# haven't test. I just keep using individual containers.
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 1m
|
||||
volumes:
|
||||
- $HOME/.config/aria2:/config
|
||||
# Don't really understand differences between attaching with bind-mounting =.=
|
||||
# - $HOME/_downloads:/downloads
|
||||
- type: bind
|
||||
source: $HOME/_downloads
|
||||
target: /downloads
|
||||
restart: 'unless-stopped'
|
||||
# Optional - alternative address used for autodiscovery
|
||||
# hidden.
|
||||
environment:
|
||||
- PUID=$UID
|
||||
- PGID=$UID
|
||||
- UMASK_SET=022
|
||||
ports:
|
||||
- 16800:6800
|
||||
- 16888:6888
|
||||
- 16888:6888/udp
|
||||
ariang:
|
||||
image: p3terx/ariang
|
||||
container_name: ariang
|
||||
# haven't test. I just keep using individual containers.
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 1m
|
||||
restart: 'unless-stopped'
|
||||
ports:
|
||||
- 16880:6880
|
||||
|
||||
Reference in New Issue
Block a user