mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-05 09:12:22 +08:00
39 lines
988 B
YAML
39 lines
988 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
services:
|
|
aria2-superng6:
|
|
image: superng6/aria2:a2b-stable-24-11-01
|
|
container_name: ${CONTAINER_NAME}
|
|
labels:
|
|
createdBy: "Apps"
|
|
restart: always
|
|
network_mode: ${NETWORK_MODE}
|
|
cap_add:
|
|
- NET_ADMIN
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:8080
|
|
- ${PANEL_APP_PORT_RPC}:6800
|
|
- ${PANEL_APP_PORT_BTPORT}:32516
|
|
- ${PANEL_APP_PORT_BTPORT}:32516/udp
|
|
env_file:
|
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
volumes:
|
|
- ${ARIA2_ROOT_PATH}/downloads:/downloads
|
|
- ${ARIA2_ROOT_PATH}/config:/config
|
|
- /lib/modules:/lib/modules
|
|
environment:
|
|
- PUID=0
|
|
- PGID=0
|
|
- UMASK=022
|
|
- WEBUI=true
|
|
- WEBUI_PORT=${PANEL_APP_PORT_HTTP}
|
|
- BTPORT=${PANEL_APP_PORT_BTPORT}
|
|
- PORT=${PANEL_APP_PORT_RPC}
|
|
- UT=true
|
|
- RUT=true
|
|
- SMD=true
|
|
- CRA2B=2h
|
|
- QUIET=true
|