feat: add Sub2API application for AI API gateway platform

- Add Sub2API 1Panel application configuration
- Support subscription quota distribution, API Key management, billing and load balancing
- Include docker-compose.yml, data.yml, README documentation and logo
- Support amd64 and arm64 architectures
This commit is contained in:
arch3rPro
2026-03-24 19:00:29 +08:00
parent e1104e4dcf
commit 69ad9e1a76
9 changed files with 280 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
server:
host: "0.0.0.0"
port: 8080
mode: "release"
database:
host: "postgres"
port: 5432
user: "sub2api"
password: "${POSTGRES_PASSWORD}"
dbname: "sub2api"
redis:
host: "redis"
port: 6379
password: ""
jwt:
secret: "sub2api_jwt_secret_change_in_production_32chars"
expire_hour: 24