Files
appstore-1panel/dockge/aria2-superng6/docker-compose.yml
T
engine-labs-app[bot] ba8121f56f fix(app-metadata,compose): fix schema, deterministic generation and Docker Compose errors
This change addresses critical issues in app metadata schema, ensures deterministic
process-apps.py outputs, and corrects Docker Compose config errors for select apps.

- Ensures all apps' data.yml root and formFields schema required fields are present
- Fixes illegal Docker Compose fields (e.g. restart: no → "no", removes obsolete version fields)
- Removes illegal " = " in environment variable declarations
- Adds missing ports to env templates (e.g. zerotier)
- Resolves all validation, duplicate, tag, and basic resource consistency errors
- process-apps.py output is now idempotent and repeatable

Apps deploy and test through compose config without validation errors.
2025-10-27 03:11:36 +00:00

42 lines
1.2 KiB
YAML

networks:
1panel-network:
external: true
services:
aria2-superng6:
cap_add:
- NET_ADMIN
container_name: aria2-superng6
env_file:
- ./envs/global.env
- .env
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
image: superng6/aria2:a2b-stable-24-11-01
labels:
createdBy: Apps
network_mode: ${NETWORK_MODE}
ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
- ${PANEL_APP_PORT_RPC}:${PANEL_APP_PORT_RPC}
- ${PANEL_APP_PORT_BTPORT}:${PANEL_APP_PORT_BTPORT}
- ${PANEL_APP_PORT_BTPORT}:${PANEL_APP_PORT_BTPORT}/udp
restart: always
volumes:
- ${ARIA2_ROOT_PATH}/downloads:/downloads
- ${ARIA2_ROOT_PATH}/config:/config
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
- /lib/modules:/lib/modules