Files
docker/media-cloud/docker-compose.yml
T

72 lines
1.4 KiB
YAML
Executable File

services:
openlist:
image: openlistteam/openlist:latest
container_name: openlist
restart: unless-stopped
user: "1000:1000"
env_file:
- .env
networks:
- default
ports:
- "17081:5244"
environment:
- UMASK=022
volumes:
- ./openlist/data:/opt/openlist/data
- ${CLOUD_ROOT}:/cloud:rw
- /vol4/1000/download:/download:rw
aria2:
# 网盘直链下载器,接收 QAS 任务下载到 Cloud/
image: p3terx/aria2-pro:latest
container_name: aria2
restart: unless-stopped
env_file:
- .env
networks:
- default
ports:
- "17085:6800"
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- UMASK_SET=022
- RPC_SECRET=${ARIA2_SECRET}
volumes:
- ./aria2/config:/config
- ${CLOUD_ROOT}:/downloads:rw
openlist-strm:
image: ghcr.io/jinlin-teck/openlist-strm:latest
container_name: openlist-strm
restart: unless-stopped
user: "1000:1000"
depends_on:
- openlist
env_file:
- .env
networks:
- default
ports:
- "17088:8080"
environment:
- TZ=${TZ}
volumes:
- ./openlist-strm/config:/app/config
- ${MEDIA_ROOT}/strm:/media/strm
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
default:
name: trim-default
external: true