Files
agserver.svc/aria2/docker-compose.yml
2026-01-25 23:29:04 +08:00

35 lines
756 B
YAML

# merged.
# for manual deploy, see https://www.cnblogs.com/wqp001/p/14709997.html
services:
aria2:
image: p3terx/aria2-pro
container_name: aria2
logging:
driver: json-file
options:
max-size: 1m
volumes:
- ${PWD}:/config
# use `.env` file to set other variables
- ${HOME}/downloads:/downloads
restart: 'unless-stopped'
environment:
- PUID=${UID}
- PGID=${GID}
- UMASK_SET=022
- UPDATE_TRACKERS=true
- TZ=Asia/Shanghai
network_mode: host
ariang:
image: p3terx/ariang
container_name: ariang
command: --port 6880 --ipv6
logging:
driver: json-file
options:
max-size: 1m
restart: 'unless-stopped'
network_mode: host