This commit is contained in:
2026-01-25 23:29:04 +08:00
parent 895f6e4bd0
commit 27e7499ad2
8 changed files with 40 additions and 129 deletions

View File

@@ -10,27 +10,25 @@ services:
options:
max-size: 1m
volumes:
- /opt/aria2:/config
- type: bind
source: $HOME/_downloads
target: /downloads
- ${PWD}:/config
# use `.env` file to set other variables
- ${HOME}/downloads:/downloads
restart: 'unless-stopped'
environment:
- PUID=$UID
- PGID=$UID
- PUID=${UID}
- PGID=${GID}
- UMASK_SET=022
ports:
- 16800:6800
- 16888:6888
- 16888:6888/udp
- 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'
ports:
- 16880:6880
network_mode: host