Skip to content

新增 Sub2API 宝塔 Docker 应用 - #30

Open
amengyu wants to merge 7 commits into
aaPanel:mainfrom
amengyu:main
Open

新增 Sub2API 宝塔 Docker 应用#30
amengyu wants to merge 7 commits into
aaPanel:mainfrom
amengyu:main

Conversation

@amengyu

@amengyu amengyu commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

新增 Sub2API 宝塔 Docker 应用模板,支持通过宝塔 Docker 应用一键部署 Sub2API。

Sub2API 是一个 AI API 聚合与分发平台,支持多账号、多渠道、API Key 管理、额度与用量统计,可统一管理多种 AI API 服务。

应用版本:

  • latest:默认版本

镜像来源:

  • ghcr.io/wei-shaw/sub2api:latest
  • postgres:18-alpine
  • redis:8-alpine

已适配宝塔 Docker 外部应用结构,包含:

  • app.json
  • ico-dkapp_sub2api.png
  • latest/.env
  • latest/docker-compose.yml

应用由以下服务组成:

  • Sub2API
  • PostgreSQL
  • Redis

支持配置管理员邮箱、管理员密码、数据库密码、Redis 密码、JWT 密钥等参数,并对应用数据、PostgreSQL 数据和 Redis 数据进行持久化保存。

测试情况:
已完成应用目录结构、环境变量、Docker Compose 配置及应用参数检查。

This commit adds a new configuration file for the Sub2API application, detailing its properties, settings, and dependencies.
This JSON file defines the configuration for the Sub2API application, including app details, versioning, description, status, and various fields for user input and environment variables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant