mirror of
https://github.com/okxlin/appstore.git
synced 2026-11-18 16:06:33 +00:00
chore: normalize AppStore formatting and i18n
Normalize AppStore package formatting and localized metadata. Adds repository text-format defaults, normalizes package YAML and environment sample whitespace, and updates localized display strings.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
@@ -22,4 +22,4 @@ services:
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
external: true
|
||||
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- TZ=${TIME_ZONE}
|
||||
# 删除以下行前的#号表示启用 (Delete the # sign in front of the following lines to indicate enablement)
|
||||
# - ${ENV1}=${ENV1}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
|
||||
@@ -11,5 +11,5 @@ services:
|
||||
- TZ=${TIME_ZONE}
|
||||
# 删除以下行前的#号表示启用 (Delete the # sign in front of the following lines to indicate enablement)
|
||||
# - ${ENV1}=${ENV1}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
@@ -70,4 +70,4 @@ services:
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
external: true
|
||||
|
||||
@@ -70,4 +70,4 @@ services:
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
external: true
|
||||
|
||||
@@ -14,10 +14,10 @@ services:
|
||||
volumes:
|
||||
- aapanel:/www
|
||||
image: "aapanel/aapanel:lib"
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
volumes:
|
||||
aapanel:
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -15,9 +15,9 @@ services:
|
||||
- GITEA_RUNNER_NAME=${RUNNER_NAME}
|
||||
- GITEA_RUNNER_LABELS=${RUNNER_LABELS}
|
||||
image: gitea/act_runner:0.6.1
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -15,9 +15,9 @@ services:
|
||||
- GITEA_RUNNER_NAME=${RUNNER_NAME}
|
||||
- GITEA_RUNNER_LABELS=${RUNNER_LABELS}
|
||||
image: gitea/act_runner:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
services:
|
||||
adguardhome:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PLAIN_DNS_PORT}:53/tcp
|
||||
- ${PLAIN_DNS_PORT}:53/udp
|
||||
- ${DHCP_PORT1}:67/udp
|
||||
- ${DHCP_PORT2}:68/udp
|
||||
- ${HTTP_PORT}:80/tcp
|
||||
- ${DOH_PORT}:443/tcp
|
||||
- ${DOH_PORT}:443/udp
|
||||
- ${PANEL_APP_PORT_HTTP}:3000/tcp
|
||||
- ${DOT_PORT}:853/tcp
|
||||
- ${QUIC_PORT1}:784/udp
|
||||
- ${DOT_PORT}:853/udp
|
||||
- ${QUIC_PORT2}:8853/udp
|
||||
- ${DNS_CRYPT_PORT}:5443/tcp
|
||||
- ${DNS_CRYPT_PORT}:5443/udp
|
||||
volumes:
|
||||
- ${WORK_PATH}:/opt/adguardhome/work
|
||||
- ${CONFIG_PATH}:/opt/adguardhome/conf
|
||||
image: adguard/adguardhome:v0.107.80
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
adguardhome:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PLAIN_DNS_PORT}:53/tcp
|
||||
- ${PLAIN_DNS_PORT}:53/udp
|
||||
- ${DHCP_PORT1}:67/udp
|
||||
- ${DHCP_PORT2}:68/udp
|
||||
- ${HTTP_PORT}:80/tcp
|
||||
- ${DOH_PORT}:443/tcp
|
||||
- ${DOH_PORT}:443/udp
|
||||
- ${PANEL_APP_PORT_HTTP}:3000/tcp
|
||||
- ${DOT_PORT}:853/tcp
|
||||
- ${QUIC_PORT1}:784/udp
|
||||
- ${DOT_PORT}:853/udp
|
||||
- ${QUIC_PORT2}:8853/udp
|
||||
- ${DNS_CRYPT_PORT}:5443/tcp
|
||||
- ${DNS_CRYPT_PORT}:5443/udp
|
||||
volumes:
|
||||
- ${WORK_PATH}:/opt/adguardhome/work
|
||||
- ${CONFIG_PATH}:/opt/adguardhome/conf
|
||||
image: adguard/adguardhome:v0.107.80
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
services:
|
||||
adguardhome:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PLAIN_DNS_PORT}:53/tcp
|
||||
- ${PLAIN_DNS_PORT}:53/udp
|
||||
- ${DHCP_PORT1}:67/udp
|
||||
- ${DHCP_PORT2}:68/udp
|
||||
- ${HTTP_PORT}:80/tcp
|
||||
- ${DOH_PORT}:443/tcp
|
||||
- ${DOH_PORT}:443/udp
|
||||
- ${PANEL_APP_PORT_HTTP}:3000/tcp
|
||||
- ${DOT_PORT}:853/tcp
|
||||
- ${QUIC_PORT1}:784/udp
|
||||
- ${DOT_PORT}:853/udp
|
||||
- ${QUIC_PORT2}:8853/udp
|
||||
- ${DNS_CRYPT_PORT}:5443/tcp
|
||||
- ${DNS_CRYPT_PORT}:5443/udp
|
||||
volumes:
|
||||
- ${WORK_PATH}:/opt/adguardhome/work
|
||||
- ${CONFIG_PATH}:/opt/adguardhome/conf
|
||||
image: adguard/adguardhome:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
adguardhome:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PLAIN_DNS_PORT}:53/tcp
|
||||
- ${PLAIN_DNS_PORT}:53/udp
|
||||
- ${DHCP_PORT1}:67/udp
|
||||
- ${DHCP_PORT2}:68/udp
|
||||
- ${HTTP_PORT}:80/tcp
|
||||
- ${DOH_PORT}:443/tcp
|
||||
- ${DOH_PORT}:443/udp
|
||||
- ${PANEL_APP_PORT_HTTP}:3000/tcp
|
||||
- ${DOT_PORT}:853/tcp
|
||||
- ${QUIC_PORT1}:784/udp
|
||||
- ${DOT_PORT}:853/udp
|
||||
- ${QUIC_PORT2}:8853/udp
|
||||
- ${DNS_CRYPT_PORT}:5443/tcp
|
||||
- ${DNS_CRYPT_PORT}:5443/udp
|
||||
volumes:
|
||||
- ${WORK_PATH}:/opt/adguardhome/work
|
||||
- ${CONFIG_PATH}:/opt/adguardhome/conf
|
||||
image: adguard/adguardhome:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -12,9 +12,9 @@ services:
|
||||
- TZ=${TIME_ZONE}
|
||||
- ALIST_HOST=${ALIST_HOST}
|
||||
image: prophet310/alist-encrypt:beta
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -12,9 +12,9 @@ services:
|
||||
environment:
|
||||
- ALIST_PORT=${PANEL_APP_PORT_XIAOYA}
|
||||
image: haroldli/xiaoya-tvbox:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
CONTAINER_NAME="alist"
|
||||
PANEL_APP_PORT_HTTP="40034"
|
||||
DATA_PATH="./data/data"
|
||||
MOUNT_PATH="./data/mnt"
|
||||
MOUNT_PATH="./data/mnt"
|
||||
|
||||
@@ -14,10 +14,10 @@ services:
|
||||
- PGID=0
|
||||
- UMASK=022
|
||||
image: xhofe/alist:v3.44.0
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@ services:
|
||||
- PGID=0
|
||||
- UMASK=022
|
||||
image: xhofe/alist-aria2:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
CONTAINER_NAME="alist"
|
||||
PANEL_APP_PORT_HTTP="40034"
|
||||
DATA_PATH="./data/data"
|
||||
MOUNT_PATH="./data/mnt"
|
||||
MOUNT_PATH="./data/mnt"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
CONTAINER_NAME="alist"
|
||||
PANEL_APP_PORT_HTTP="40034"
|
||||
DATA_PATH="./data/data"
|
||||
MOUNT_PATH="./data/mnt"
|
||||
MOUNT_PATH="./data/mnt"
|
||||
|
||||
@@ -14,10 +14,10 @@ services:
|
||||
- PGID=0
|
||||
- UMASK=022
|
||||
image: xhofe/alist:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
|
||||
@@ -16,6 +16,6 @@ services:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
CONTAINER_NAME="looking-glass"
|
||||
PANEL_APP_PORT_HTTP="20080"
|
||||
PANEL_APP_PORT_HTTP="20080"
|
||||
|
||||
@@ -6,6 +6,6 @@ services:
|
||||
environment:
|
||||
- HTTP_PORT=${PANEL_APP_PORT_HTTP}
|
||||
image: wikihostinc/looking-glass-server
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
|
||||
@@ -12,5 +12,5 @@ services:
|
||||
- ./data/configs:/app/configs
|
||||
- ./data/nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./data/supervisor:/etc/supervisor/conf.d
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
@@ -9,9 +9,9 @@ services:
|
||||
volumes:
|
||||
- "${DATA_PATH}:/data"
|
||||
image: answerdev/answer:1.2.0
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -9,9 +9,9 @@ services:
|
||||
volumes:
|
||||
- "${DATA_PATH}:/data"
|
||||
image: answerdev/answer:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -4,4 +4,4 @@ PANEL_APP_PORT_HTTP="6888"
|
||||
TOKEN="aria2trIyiPhA0l"
|
||||
CONFIG_PATH="./data/config"
|
||||
DOWNLOAD_PATH="./data/downloads"
|
||||
TRACKER_URL="https://trackerslist.com/all_aria2.txt"
|
||||
TRACKER_URL="https://trackerslist.com/all_aria2.txt"
|
||||
|
||||
@@ -27,9 +27,9 @@ services:
|
||||
networks:
|
||||
- 1panel-network
|
||||
image: p3terx/aria2-pro:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -9,9 +9,9 @@ services:
|
||||
volumes:
|
||||
- "${DATA_PATH}:/data"
|
||||
image: artalk/artalk-go:2.10.1
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -9,9 +9,9 @@ services:
|
||||
volumes:
|
||||
- "${DATA_PATH}:/data"
|
||||
image: artalk/artalk-go:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -12,9 +12,9 @@ services:
|
||||
- "${DATA_PATH}:/config"
|
||||
- "${DATA_PATH3}:/metadata"
|
||||
image: advplyr/audiobookshelf:2.37.2
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -12,9 +12,9 @@ services:
|
||||
- "${DATA_PATH}:/config"
|
||||
- "${DATA_PATH3}:/metadata"
|
||||
image: advplyr/audiobookshelf:2.38.0
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -12,9 +12,9 @@ services:
|
||||
- "${DATA_PATH}:/config"
|
||||
- "${DATA_PATH3}:/metadata"
|
||||
image: advplyr/audiobookshelf:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
CONTAINER_NAME='baidunetdisk'
|
||||
VNC_PASSWORD='VNCPassword'
|
||||
PANEL_APP_PORT_HTTP='40035'
|
||||
CONFIG_PATH='./data/config'
|
||||
DOWNLOAD_PATH='./data/config'
|
||||
CONTAINER_NAME='baidunetdisk'
|
||||
VNC_PASSWORD='VNCPassword'
|
||||
PANEL_APP_PORT_HTTP='40035'
|
||||
CONFIG_PATH='./data/config'
|
||||
DOWNLOAD_PATH='./data/config'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
CONTAINER_NAME='baidunetdisk'
|
||||
VNC_PASSWORD='VNCPassword'
|
||||
PANEL_APP_PORT_HTTP='40035'
|
||||
CONFIG_PATH='./data/config'
|
||||
DOWNLOAD_PATH='./data/config'
|
||||
CONTAINER_NAME='baidunetdisk'
|
||||
VNC_PASSWORD='VNCPassword'
|
||||
PANEL_APP_PORT_HTTP='40035'
|
||||
CONFIG_PATH='./data/config'
|
||||
DOWNLOAD_PATH='./data/config'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
CONTAINER_NAME='baidunetdisk'
|
||||
VNC_PASSWORD='VNCPassword'
|
||||
PANEL_APP_PORT_HTTP='40035'
|
||||
CONFIG_PATH='./data/config'
|
||||
DOWNLOAD_PATH='./data/config'
|
||||
CONTAINER_NAME='baidunetdisk'
|
||||
VNC_PASSWORD='VNCPassword'
|
||||
PANEL_APP_PORT_HTTP='40035'
|
||||
CONFIG_PATH='./data/config'
|
||||
DOWNLOAD_PATH='./data/config'
|
||||
|
||||
@@ -14,10 +14,10 @@ services:
|
||||
volumes:
|
||||
- baota:/www
|
||||
image: "btpanel/baota:latest"
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
volumes:
|
||||
baota:
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -10,4 +10,4 @@ services:
|
||||
- PORT=${PANEL_APP_PORT_HTTP}
|
||||
- KEY=${KEY}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
createdBy: "Apps"
|
||||
|
||||
@@ -10,4 +10,4 @@ services:
|
||||
- PORT=${PANEL_APP_PORT_HTTP}
|
||||
- KEY=${KEY}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
createdBy: "Apps"
|
||||
|
||||
@@ -9,9 +9,9 @@ services:
|
||||
volumes:
|
||||
- "${DATA_PATH}:/srv/bililive"
|
||||
image: chigusa/bililive-go:v0.8.3
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -9,9 +9,9 @@ services:
|
||||
volumes:
|
||||
- "${DATA_PATH}:/srv/bililive"
|
||||
image: chigusa/bililive-go:v0.8.4
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -9,9 +9,9 @@ services:
|
||||
volumes:
|
||||
- "${DATA_PATH}:/srv/bililive"
|
||||
image: chigusa/bililive-go:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
services:
|
||||
blinko:
|
||||
image: "blinkospace/blinko:1.8.9"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXTAUTH_URL: ${NEXTAUTH_URL}
|
||||
NEXT_PUBLIC_BASE_URL: ${NEXT_PUBLIC_BASE_URL}
|
||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
||||
DATABASE_URL: postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
|
||||
volumes:
|
||||
- "./data:/app/.blinko"
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:1111"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:1111/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
blinko:
|
||||
image: "blinkospace/blinko:1.8.9"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXTAUTH_URL: ${NEXTAUTH_URL}
|
||||
NEXT_PUBLIC_BASE_URL: ${NEXT_PUBLIC_BASE_URL}
|
||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
||||
DATABASE_URL: postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
|
||||
volumes:
|
||||
- "./data:/app/.blinko"
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:1111"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:1111/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
services:
|
||||
blinko:
|
||||
image: "blinkospace/blinko:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXTAUTH_URL: ${NEXTAUTH_URL}
|
||||
NEXT_PUBLIC_BASE_URL: ${NEXT_PUBLIC_BASE_URL}
|
||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
||||
DATABASE_URL: postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
|
||||
volumes:
|
||||
- "./data:/app/.blinko"
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:1111"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:1111/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
blinko:
|
||||
image: "blinkospace/blinko:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXTAUTH_URL: ${NEXTAUTH_URL}
|
||||
NEXT_PUBLIC_BASE_URL: ${NEXT_PUBLIC_BASE_URL}
|
||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
||||
DATABASE_URL: postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
|
||||
volumes:
|
||||
- "./data:/app/.blinko"
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:1111"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:1111/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -12,7 +12,7 @@ services:
|
||||
environment:
|
||||
SPRING_DATASOURCE_URL: jdbc:${PANEL_DB_TYPE}://${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}?useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&useSSL=false&&serverTimezone=GMT%2B8
|
||||
SPRING_DATASOURCE_USERNAME: ${PANEL_DB_USER}
|
||||
SPRING_DATASOURCE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
SPRING_DATASOURCE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:9999
|
||||
networks:
|
||||
@@ -24,5 +24,5 @@ services:
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
restart: always
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
@@ -12,7 +12,7 @@ services:
|
||||
environment:
|
||||
SPRING_DATASOURCE_URL: jdbc:${PANEL_DB_TYPE}://${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}?useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&useSSL=false&&serverTimezone=GMT%2B8
|
||||
SPRING_DATASOURCE_USERNAME: ${PANEL_DB_USER}
|
||||
SPRING_DATASOURCE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
SPRING_DATASOURCE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:9999
|
||||
networks:
|
||||
@@ -24,5 +24,5 @@ services:
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
restart: always
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
@@ -16,9 +16,9 @@ services:
|
||||
- DOCKER_MODS=${DOCKER_MODS:-linuxserver/mods:universal-calibre}
|
||||
- OAUTHLIB_RELAX_TOKEN_SCOPE=${OAUTHLIB_RELAX_TOKEN_SCOPE:-1}
|
||||
image: "linuxserver/calibre-web:0.6.27"
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -16,9 +16,9 @@ services:
|
||||
- DOCKER_MODS=${DOCKER_MODS:-linuxserver/mods:universal-calibre}
|
||||
- OAUTHLIB_RELAX_TOKEN_SCOPE=${OAUTHLIB_RELAX_TOKEN_SCOPE:-1}
|
||||
image: "linuxserver/calibre-web:latest"
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -9,9 +9,9 @@ services:
|
||||
volumes:
|
||||
- "${DATA_PATH}:/datastore"
|
||||
image: dgtlmoon/changedetection.io:0.70
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -9,9 +9,9 @@ services:
|
||||
volumes:
|
||||
- "${DATA_PATH}:/datastore"
|
||||
image: dgtlmoon/changedetection.io:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -12,9 +12,9 @@ services:
|
||||
- "PROXY_URL=${PROXY}"
|
||||
- "BASE_URL=${API_BASE_URL}"
|
||||
image: yidadaa/chatgpt-next-web:v2.16.1
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -12,9 +12,9 @@ services:
|
||||
- "PROXY_URL=${PROXY}"
|
||||
- "BASE_URL=${API_BASE_URL}"
|
||||
image: yidadaa/chatgpt-next-web:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -128,9 +128,9 @@ services:
|
||||
- LINKAI_API_KEY=${LINKAI_API_KEY}
|
||||
- LINKAI_APP_CODE=${LINKAI_APP_CODE}
|
||||
- LINKAI_API_BASE=${LINKAI_API_BASE}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -128,9 +128,9 @@ services:
|
||||
- LINKAI_API_KEY=${LINKAI_API_KEY}
|
||||
- LINKAI_APP_CODE=${LINKAI_APP_CODE}
|
||||
- LINKAI_API_BASE=${LINKAI_API_BASE}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -40,4 +40,4 @@ PROXY_USERNAME=""
|
||||
PROXY_PASSWORD=""
|
||||
|
||||
# HTTPS PROXY
|
||||
HTTPS_PROXY=""
|
||||
HTTPS_PROXY=""
|
||||
|
||||
@@ -25,9 +25,9 @@ services:
|
||||
- ./data/storage:/storage
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
external: true
|
||||
|
||||
@@ -20,10 +20,10 @@ services:
|
||||
- "REDIS_PASSWORD=${PANEL_DB_ROOT_PASSWORD}"
|
||||
tty: true
|
||||
image: celaraze/chemex:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
|
||||
@@ -24,9 +24,9 @@ services:
|
||||
max-size: "5m"
|
||||
hostname: chinesesubfinder
|
||||
image: allanpk716/chinesesubfinder:v0.55.3
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -24,9 +24,9 @@ services:
|
||||
max-size: "5m"
|
||||
hostname: chinesesubfinder
|
||||
image: allanpk716/chinesesubfinder:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -10,9 +10,9 @@ services:
|
||||
- ./data/history:/app/history
|
||||
- ./data/config.json:/app/config.json
|
||||
image: tuchuanhuhuhu/chuanhuchatgpt:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,330 +1,330 @@
|
||||
# Server host/interface to bind to. Default is empty ("") to bind all interfaces (IPv4 + IPv6).
|
||||
# Use "127.0.0.1" or "localhost" to restrict access to local machine only.
|
||||
host: ""
|
||||
|
||||
# Server port
|
||||
port: 8317
|
||||
|
||||
# TLS settings for HTTPS. When enabled, the server listens with the provided certificate and key.
|
||||
tls:
|
||||
enable: false
|
||||
cert: ""
|
||||
key: ""
|
||||
|
||||
# Management API settings
|
||||
remote-management:
|
||||
# Whether to allow remote (non-localhost) management access.
|
||||
# When false, only localhost can access management endpoints (a key is still required).
|
||||
allow-remote: false
|
||||
|
||||
# Management key. If a plaintext value is provided here, it will be hashed on startup.
|
||||
# All management requests (even from localhost) require this key.
|
||||
# Leave empty to disable the Management API entirely (404 for all /v0/management routes).
|
||||
secret-key: ""
|
||||
|
||||
# Disable the bundled management control panel asset download and HTTP route when true.
|
||||
disable-control-panel: false
|
||||
|
||||
# GitHub repository for the management control panel. Accepts a repository URL or releases API URL.
|
||||
panel-github-repository: "https://github.com/router-for-me/Cli-Proxy-API-Management-Center"
|
||||
|
||||
# Authentication directory (supports ~ for home directory)
|
||||
auth-dir: "~/.cli-proxy-api"
|
||||
|
||||
# API keys for authentication
|
||||
api-keys:
|
||||
- "your-api-key-1"
|
||||
- "your-api-key-2"
|
||||
- "your-api-key-3"
|
||||
|
||||
# Enable debug logging
|
||||
debug: false
|
||||
|
||||
# Enable pprof HTTP debug server (host:port). Keep it bound to localhost for safety.
|
||||
pprof:
|
||||
enable: false
|
||||
addr: "127.0.0.1:8316"
|
||||
|
||||
# When true, disable high-overhead HTTP middleware features to reduce per-request memory usage under high concurrency.
|
||||
commercial-mode: false
|
||||
|
||||
# When true, write application logs to rotating files instead of stdout
|
||||
logging-to-file: false
|
||||
|
||||
# Maximum total size (MB) of log files under the logs directory. When exceeded, the oldest log
|
||||
# files are deleted until within the limit. Set to 0 to disable.
|
||||
logs-max-total-size-mb: 0
|
||||
|
||||
# Maximum number of error log files retained when request logging is disabled.
|
||||
# When exceeded, the oldest error log files are deleted. Default is 10. Set to 0 to disable cleanup.
|
||||
error-logs-max-files: 10
|
||||
|
||||
# When false, disable in-memory usage statistics aggregation
|
||||
usage-statistics-enabled: false
|
||||
|
||||
# Proxy URL. Supports socks5/http/https protocols. Example: socks5://user:pass@192.168.1.1:1080/
|
||||
proxy-url: ""
|
||||
|
||||
# When true, unprefixed model requests only use credentials without a prefix (except when prefix == model name).
|
||||
force-model-prefix: false
|
||||
|
||||
# When true, forward filtered upstream response headers to downstream clients.
|
||||
# Default is false (disabled).
|
||||
passthrough-headers: false
|
||||
|
||||
# Number of times to retry a request. Retries will occur if the HTTP response code is 403, 408, 500, 502, 503, or 504.
|
||||
request-retry: 3
|
||||
|
||||
# Maximum number of different credentials to try for one failed request.
|
||||
# Set to 0 to keep legacy behavior (try all available credentials).
|
||||
max-retry-credentials: 0
|
||||
|
||||
# Maximum wait time in seconds for a cooled-down credential before triggering a retry.
|
||||
max-retry-interval: 30
|
||||
|
||||
# Quota exceeded behavior
|
||||
quota-exceeded:
|
||||
switch-project: true # Whether to automatically switch to another project when a quota is exceeded
|
||||
switch-preview-model: true # Whether to automatically switch to a preview model when a quota is exceeded
|
||||
|
||||
# Routing strategy for selecting credentials when multiple match.
|
||||
routing:
|
||||
strategy: "round-robin" # round-robin (default), fill-first
|
||||
|
||||
# When true, enable authentication for the WebSocket API (/v1/ws).
|
||||
ws-auth: false
|
||||
|
||||
# When > 0, emit blank lines every N seconds for non-streaming responses to prevent idle timeouts.
|
||||
nonstream-keepalive-interval: 0
|
||||
|
||||
# Streaming behavior (SSE keep-alives + safe bootstrap retries).
|
||||
# streaming:
|
||||
# keepalive-seconds: 15 # Default: 0 (disabled). <= 0 disables keep-alives.
|
||||
# bootstrap-retries: 1 # Default: 0 (disabled). Retries before first byte is sent.
|
||||
|
||||
# Gemini API keys
|
||||
# gemini-api-key:
|
||||
# - api-key: "AIzaSy...01"
|
||||
# prefix: "test" # optional: require calls like "test/gemini-3-pro-preview" to target this credential
|
||||
# base-url: "https://generativelanguage.googleapis.com"
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080"
|
||||
# models:
|
||||
# - name: "gemini-2.5-flash" # upstream model name
|
||||
# alias: "gemini-flash" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "gemini-2.5-pro" # exclude specific models from this provider (exact match)
|
||||
# - "gemini-2.5-*" # wildcard matching prefix (e.g. gemini-2.5-flash, gemini-2.5-pro)
|
||||
# - "*-preview" # wildcard matching suffix (e.g. gemini-3-pro-preview)
|
||||
# - "*flash*" # wildcard matching substring (e.g. gemini-2.5-flash-lite)
|
||||
# - api-key: "AIzaSy...02"
|
||||
|
||||
# Codex API keys
|
||||
# codex-api-key:
|
||||
# - api-key: "sk-atSM..."
|
||||
# prefix: "test" # optional: require calls like "test/gpt-5-codex" to target this credential
|
||||
# base-url: "https://www.example.com" # use the custom codex API endpoint
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# models:
|
||||
# - name: "gpt-5-codex" # upstream model name
|
||||
# alias: "codex-latest" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "gpt-5.1" # exclude specific models (exact match)
|
||||
# - "gpt-5-*" # wildcard matching prefix (e.g. gpt-5-medium, gpt-5-codex)
|
||||
# - "*-mini" # wildcard matching suffix (e.g. gpt-5-codex-mini)
|
||||
# - "*codex*" # wildcard matching substring (e.g. gpt-5-codex-low)
|
||||
|
||||
# Claude API keys
|
||||
# claude-api-key:
|
||||
# - api-key: "sk-atSM..." # use the official claude API key, no need to set the base url
|
||||
# - api-key: "sk-atSM..."
|
||||
# prefix: "test" # optional: require calls like "test/claude-sonnet-latest" to target this credential
|
||||
# base-url: "https://www.example.com" # use the custom claude API endpoint
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# models:
|
||||
# - name: "claude-3-5-sonnet-20241022" # upstream model name
|
||||
# alias: "claude-sonnet-latest" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "claude-opus-4-5-20251101" # exclude specific models (exact match)
|
||||
# - "claude-3-*" # wildcard matching prefix (e.g. claude-3-7-sonnet-20250219)
|
||||
# - "*-thinking" # wildcard matching suffix (e.g. claude-opus-4-5-thinking)
|
||||
# - "*haiku*" # wildcard matching substring (e.g. claude-3-5-haiku-20241022)
|
||||
# cloak: # optional: request cloaking for non-Claude-Code clients
|
||||
# mode: "auto" # "auto" (default): cloak only when client is not Claude Code
|
||||
# # "always": always apply cloaking
|
||||
# # "never": never apply cloaking
|
||||
# strict-mode: false # false (default): prepend Claude Code prompt to user system messages
|
||||
# # true: strip all user system messages, keep only Claude Code prompt
|
||||
# sensitive-words: # optional: words to obfuscate with zero-width characters
|
||||
# - "API"
|
||||
# - "proxy"
|
||||
# cache-user-id: true # optional: default is false; set true to reuse cached user_id per API key instead of generating a random one each request
|
||||
|
||||
# Default headers for Claude API requests. Update when Claude Code releases new versions.
|
||||
# These are used as fallbacks when the client does not send its own headers.
|
||||
# claude-header-defaults:
|
||||
# user-agent: "claude-cli/2.1.44 (external, sdk-cli)"
|
||||
# package-version: "0.74.0"
|
||||
# runtime-version: "v24.3.0"
|
||||
# timeout: "600"
|
||||
|
||||
# OpenAI compatibility providers
|
||||
# openai-compatibility:
|
||||
# - name: "openrouter" # The name of the provider; it will be used in the user agent and other places.
|
||||
# prefix: "test" # optional: require calls like "test/kimi-k2" to target this provider's credentials
|
||||
# base-url: "https://openrouter.ai/api/v1" # The base URL of the provider.
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# api-key-entries:
|
||||
# - api-key: "sk-or-v1-...b780"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# - api-key: "sk-or-v1-...b781" # without proxy-url
|
||||
# models: # The models supported by the provider.
|
||||
# - name: "moonshotai/kimi-k2:free" # The actual model name.
|
||||
# alias: "kimi-k2" # The alias used in the API.
|
||||
|
||||
# Vertex API keys (Vertex-compatible endpoints, use API key + base URL)
|
||||
# vertex-api-key:
|
||||
# - api-key: "vk-123..." # x-goog-api-key header
|
||||
# prefix: "test" # optional: require calls like "test/vertex-pro" to target this credential
|
||||
# base-url: "https://example.com/api" # e.g. https://zenmux.ai/api
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional per-key proxy override
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# models: # optional: map aliases to upstream model names
|
||||
# - name: "gemini-2.5-flash" # upstream model name
|
||||
# alias: "vertex-flash" # client-visible alias
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "vertex-pro"
|
||||
|
||||
# Amp Integration
|
||||
# ampcode:
|
||||
# # Configure upstream URL for Amp CLI OAuth and management features
|
||||
# upstream-url: "https://ampcode.com"
|
||||
# # Optional: Override API key for Amp upstream (otherwise uses env or file)
|
||||
# upstream-api-key: ""
|
||||
# # Per-client upstream API key mapping
|
||||
# # Maps client API keys (from top-level api-keys) to different Amp upstream API keys.
|
||||
# # Useful when different clients need to use different Amp accounts/quotas.
|
||||
# # If a client key isn't mapped, falls back to upstream-api-key (default behavior).
|
||||
# upstream-api-keys:
|
||||
# - upstream-api-key: "amp_key_for_team_a" # Upstream key to use for these clients
|
||||
# api-keys: # Client keys that use this upstream key
|
||||
# - "your-api-key-1"
|
||||
# - "your-api-key-2"
|
||||
# - upstream-api-key: "amp_key_for_team_b"
|
||||
# api-keys:
|
||||
# - "your-api-key-3"
|
||||
# # Restrict Amp management routes (/api/auth, /api/user, etc.) to localhost only (default: false)
|
||||
# restrict-management-to-localhost: false
|
||||
# # Force model mappings to run before checking local API keys (default: false)
|
||||
# force-model-mappings: false
|
||||
# # Amp Model Mappings
|
||||
# # Route unavailable Amp models to alternative models available in your local proxy.
|
||||
# # Useful when Amp CLI requests models you don't have access to (e.g., Claude Opus 4.5)
|
||||
# # but you have a similar model available (e.g., Claude Sonnet 4).
|
||||
# model-mappings:
|
||||
# - from: "claude-opus-4-5-20251101" # Model requested by Amp CLI
|
||||
# to: "gemini-claude-opus-4-5-thinking" # Route to this available model instead
|
||||
# - from: "claude-sonnet-4-5-20250929"
|
||||
# to: "gemini-claude-sonnet-4-5-thinking"
|
||||
# - from: "claude-haiku-4-5-20251001"
|
||||
# to: "gemini-2.5-flash"
|
||||
|
||||
# Global OAuth model name aliases (per channel)
|
||||
# These aliases rename model IDs for both model listing and request routing.
|
||||
# Supported channels: gemini-cli, vertex, aistudio, antigravity, claude, codex, qwen, iflow, kimi.
|
||||
# NOTE: Aliases do not apply to gemini-api-key, codex-api-key, claude-api-key, openai-compatibility, vertex-api-key, or ampcode.
|
||||
# You can repeat the same name with different aliases to expose multiple client model names.
|
||||
# oauth-model-alias:
|
||||
# gemini-cli:
|
||||
# - name: "gemini-2.5-pro" # original model name under this channel
|
||||
# alias: "g2.5p" # client-visible alias
|
||||
# fork: true # when true, keep original and also add the alias as an extra model (default: false)
|
||||
# vertex:
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "g2.5p"
|
||||
# aistudio:
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "g2.5p"
|
||||
# antigravity:
|
||||
# - name: "gemini-3-pro-high"
|
||||
# alias: "gemini-3-pro-preview"
|
||||
# claude:
|
||||
# - name: "claude-sonnet-4-5-20250929"
|
||||
# alias: "cs4.5"
|
||||
# codex:
|
||||
# - name: "gpt-5"
|
||||
# alias: "g5"
|
||||
# qwen:
|
||||
# - name: "qwen3-coder-plus"
|
||||
# alias: "qwen-plus"
|
||||
# iflow:
|
||||
# - name: "glm-4.7"
|
||||
# alias: "glm-god"
|
||||
# kimi:
|
||||
# - name: "kimi-k2.5"
|
||||
# alias: "k2.5"
|
||||
|
||||
# OAuth provider excluded models
|
||||
# oauth-excluded-models:
|
||||
# gemini-cli:
|
||||
# - "gemini-2.5-pro" # exclude specific models (exact match)
|
||||
# - "gemini-2.5-*" # wildcard matching prefix (e.g. gemini-2.5-flash, gemini-2.5-pro)
|
||||
# - "*-preview" # wildcard matching suffix (e.g. gemini-3-pro-preview)
|
||||
# - "*flash*" # wildcard matching substring (e.g. gemini-2.5-flash-lite)
|
||||
# vertex:
|
||||
# - "gemini-3-pro-preview"
|
||||
# aistudio:
|
||||
# - "gemini-3-pro-preview"
|
||||
# antigravity:
|
||||
# - "gemini-3-pro-preview"
|
||||
# claude:
|
||||
# - "claude-3-5-haiku-20241022"
|
||||
# codex:
|
||||
# - "gpt-5-codex-mini"
|
||||
# qwen:
|
||||
# - "vision-model"
|
||||
# iflow:
|
||||
# - "tstars2.0"
|
||||
# kimi:
|
||||
# - "kimi-k2-thinking"
|
||||
|
||||
# Optional payload configuration
|
||||
# payload:
|
||||
# default: # Default rules only set parameters when they are missing in the payload.
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> value
|
||||
# "generationConfig.thinkingConfig.thinkingBudget": 32768
|
||||
# default-raw: # Default raw rules set parameters using raw JSON when missing (must be valid JSON).
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> raw JSON value (strings are used as-is, must be valid JSON)
|
||||
# "generationConfig.responseJsonSchema": "{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"}}}"
|
||||
# override: # Override rules always set parameters, overwriting any existing values.
|
||||
# - models:
|
||||
# - name: "gpt-*" # Supports wildcards (e.g., "gpt-*")
|
||||
# protocol: "codex" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> value
|
||||
# "reasoning.effort": "high"
|
||||
# override-raw: # Override raw rules always set parameters using raw JSON (must be valid JSON).
|
||||
# - models:
|
||||
# - name: "gpt-*" # Supports wildcards (e.g., "gpt-*")
|
||||
# protocol: "codex" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> raw JSON value (strings are used as-is, must be valid JSON)
|
||||
# "response_format": "{\"type\":\"json_schema\",\"json_schema\":{\"name\":\"answer\",\"schema\":{\"type\":\"object\"}}}"
|
||||
# filter: # Filter rules remove specified parameters from the payload.
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON paths (gjson/sjson syntax) to remove from the payload
|
||||
# - "generationConfig.thinkingConfig.thinkingBudget"
|
||||
# - "generationConfig.responseJsonSchema"
|
||||
# Server host/interface to bind to. Default is empty ("") to bind all interfaces (IPv4 + IPv6).
|
||||
# Use "127.0.0.1" or "localhost" to restrict access to local machine only.
|
||||
host: ""
|
||||
|
||||
# Server port
|
||||
port: 8317
|
||||
|
||||
# TLS settings for HTTPS. When enabled, the server listens with the provided certificate and key.
|
||||
tls:
|
||||
enable: false
|
||||
cert: ""
|
||||
key: ""
|
||||
|
||||
# Management API settings
|
||||
remote-management:
|
||||
# Whether to allow remote (non-localhost) management access.
|
||||
# When false, only localhost can access management endpoints (a key is still required).
|
||||
allow-remote: false
|
||||
|
||||
# Management key. If a plaintext value is provided here, it will be hashed on startup.
|
||||
# All management requests (even from localhost) require this key.
|
||||
# Leave empty to disable the Management API entirely (404 for all /v0/management routes).
|
||||
secret-key: ""
|
||||
|
||||
# Disable the bundled management control panel asset download and HTTP route when true.
|
||||
disable-control-panel: false
|
||||
|
||||
# GitHub repository for the management control panel. Accepts a repository URL or releases API URL.
|
||||
panel-github-repository: "https://github.com/router-for-me/Cli-Proxy-API-Management-Center"
|
||||
|
||||
# Authentication directory (supports ~ for home directory)
|
||||
auth-dir: "~/.cli-proxy-api"
|
||||
|
||||
# API keys for authentication
|
||||
api-keys:
|
||||
- "your-api-key-1"
|
||||
- "your-api-key-2"
|
||||
- "your-api-key-3"
|
||||
|
||||
# Enable debug logging
|
||||
debug: false
|
||||
|
||||
# Enable pprof HTTP debug server (host:port). Keep it bound to localhost for safety.
|
||||
pprof:
|
||||
enable: false
|
||||
addr: "127.0.0.1:8316"
|
||||
|
||||
# When true, disable high-overhead HTTP middleware features to reduce per-request memory usage under high concurrency.
|
||||
commercial-mode: false
|
||||
|
||||
# When true, write application logs to rotating files instead of stdout
|
||||
logging-to-file: false
|
||||
|
||||
# Maximum total size (MB) of log files under the logs directory. When exceeded, the oldest log
|
||||
# files are deleted until within the limit. Set to 0 to disable.
|
||||
logs-max-total-size-mb: 0
|
||||
|
||||
# Maximum number of error log files retained when request logging is disabled.
|
||||
# When exceeded, the oldest error log files are deleted. Default is 10. Set to 0 to disable cleanup.
|
||||
error-logs-max-files: 10
|
||||
|
||||
# When false, disable in-memory usage statistics aggregation
|
||||
usage-statistics-enabled: false
|
||||
|
||||
# Proxy URL. Supports socks5/http/https protocols. Example: socks5://user:pass@192.168.1.1:1080/
|
||||
proxy-url: ""
|
||||
|
||||
# When true, unprefixed model requests only use credentials without a prefix (except when prefix == model name).
|
||||
force-model-prefix: false
|
||||
|
||||
# When true, forward filtered upstream response headers to downstream clients.
|
||||
# Default is false (disabled).
|
||||
passthrough-headers: false
|
||||
|
||||
# Number of times to retry a request. Retries will occur if the HTTP response code is 403, 408, 500, 502, 503, or 504.
|
||||
request-retry: 3
|
||||
|
||||
# Maximum number of different credentials to try for one failed request.
|
||||
# Set to 0 to keep legacy behavior (try all available credentials).
|
||||
max-retry-credentials: 0
|
||||
|
||||
# Maximum wait time in seconds for a cooled-down credential before triggering a retry.
|
||||
max-retry-interval: 30
|
||||
|
||||
# Quota exceeded behavior
|
||||
quota-exceeded:
|
||||
switch-project: true # Whether to automatically switch to another project when a quota is exceeded
|
||||
switch-preview-model: true # Whether to automatically switch to a preview model when a quota is exceeded
|
||||
|
||||
# Routing strategy for selecting credentials when multiple match.
|
||||
routing:
|
||||
strategy: "round-robin" # round-robin (default), fill-first
|
||||
|
||||
# When true, enable authentication for the WebSocket API (/v1/ws).
|
||||
ws-auth: false
|
||||
|
||||
# When > 0, emit blank lines every N seconds for non-streaming responses to prevent idle timeouts.
|
||||
nonstream-keepalive-interval: 0
|
||||
|
||||
# Streaming behavior (SSE keep-alives + safe bootstrap retries).
|
||||
# streaming:
|
||||
# keepalive-seconds: 15 # Default: 0 (disabled). <= 0 disables keep-alives.
|
||||
# bootstrap-retries: 1 # Default: 0 (disabled). Retries before first byte is sent.
|
||||
|
||||
# Gemini API keys
|
||||
# gemini-api-key:
|
||||
# - api-key: "AIzaSy...01"
|
||||
# prefix: "test" # optional: require calls like "test/gemini-3-pro-preview" to target this credential
|
||||
# base-url: "https://generativelanguage.googleapis.com"
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080"
|
||||
# models:
|
||||
# - name: "gemini-2.5-flash" # upstream model name
|
||||
# alias: "gemini-flash" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "gemini-2.5-pro" # exclude specific models from this provider (exact match)
|
||||
# - "gemini-2.5-*" # wildcard matching prefix (e.g. gemini-2.5-flash, gemini-2.5-pro)
|
||||
# - "*-preview" # wildcard matching suffix (e.g. gemini-3-pro-preview)
|
||||
# - "*flash*" # wildcard matching substring (e.g. gemini-2.5-flash-lite)
|
||||
# - api-key: "AIzaSy...02"
|
||||
|
||||
# Codex API keys
|
||||
# codex-api-key:
|
||||
# - api-key: "sk-atSM..."
|
||||
# prefix: "test" # optional: require calls like "test/gpt-5-codex" to target this credential
|
||||
# base-url: "https://www.example.com" # use the custom codex API endpoint
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# models:
|
||||
# - name: "gpt-5-codex" # upstream model name
|
||||
# alias: "codex-latest" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "gpt-5.1" # exclude specific models (exact match)
|
||||
# - "gpt-5-*" # wildcard matching prefix (e.g. gpt-5-medium, gpt-5-codex)
|
||||
# - "*-mini" # wildcard matching suffix (e.g. gpt-5-codex-mini)
|
||||
# - "*codex*" # wildcard matching substring (e.g. gpt-5-codex-low)
|
||||
|
||||
# Claude API keys
|
||||
# claude-api-key:
|
||||
# - api-key: "sk-atSM..." # use the official claude API key, no need to set the base url
|
||||
# - api-key: "sk-atSM..."
|
||||
# prefix: "test" # optional: require calls like "test/claude-sonnet-latest" to target this credential
|
||||
# base-url: "https://www.example.com" # use the custom claude API endpoint
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# models:
|
||||
# - name: "claude-3-5-sonnet-20241022" # upstream model name
|
||||
# alias: "claude-sonnet-latest" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "claude-opus-4-5-20251101" # exclude specific models (exact match)
|
||||
# - "claude-3-*" # wildcard matching prefix (e.g. claude-3-7-sonnet-20250219)
|
||||
# - "*-thinking" # wildcard matching suffix (e.g. claude-opus-4-5-thinking)
|
||||
# - "*haiku*" # wildcard matching substring (e.g. claude-3-5-haiku-20241022)
|
||||
# cloak: # optional: request cloaking for non-Claude-Code clients
|
||||
# mode: "auto" # "auto" (default): cloak only when client is not Claude Code
|
||||
# # "always": always apply cloaking
|
||||
# # "never": never apply cloaking
|
||||
# strict-mode: false # false (default): prepend Claude Code prompt to user system messages
|
||||
# # true: strip all user system messages, keep only Claude Code prompt
|
||||
# sensitive-words: # optional: words to obfuscate with zero-width characters
|
||||
# - "API"
|
||||
# - "proxy"
|
||||
# cache-user-id: true # optional: default is false; set true to reuse cached user_id per API key instead of generating a random one each request
|
||||
|
||||
# Default headers for Claude API requests. Update when Claude Code releases new versions.
|
||||
# These are used as fallbacks when the client does not send its own headers.
|
||||
# claude-header-defaults:
|
||||
# user-agent: "claude-cli/2.1.44 (external, sdk-cli)"
|
||||
# package-version: "0.74.0"
|
||||
# runtime-version: "v24.3.0"
|
||||
# timeout: "600"
|
||||
|
||||
# OpenAI compatibility providers
|
||||
# openai-compatibility:
|
||||
# - name: "openrouter" # The name of the provider; it will be used in the user agent and other places.
|
||||
# prefix: "test" # optional: require calls like "test/kimi-k2" to target this provider's credentials
|
||||
# base-url: "https://openrouter.ai/api/v1" # The base URL of the provider.
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# api-key-entries:
|
||||
# - api-key: "sk-or-v1-...b780"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# - api-key: "sk-or-v1-...b781" # without proxy-url
|
||||
# models: # The models supported by the provider.
|
||||
# - name: "moonshotai/kimi-k2:free" # The actual model name.
|
||||
# alias: "kimi-k2" # The alias used in the API.
|
||||
|
||||
# Vertex API keys (Vertex-compatible endpoints, use API key + base URL)
|
||||
# vertex-api-key:
|
||||
# - api-key: "vk-123..." # x-goog-api-key header
|
||||
# prefix: "test" # optional: require calls like "test/vertex-pro" to target this credential
|
||||
# base-url: "https://example.com/api" # e.g. https://zenmux.ai/api
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional per-key proxy override
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# models: # optional: map aliases to upstream model names
|
||||
# - name: "gemini-2.5-flash" # upstream model name
|
||||
# alias: "vertex-flash" # client-visible alias
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "vertex-pro"
|
||||
|
||||
# Amp Integration
|
||||
# ampcode:
|
||||
# # Configure upstream URL for Amp CLI OAuth and management features
|
||||
# upstream-url: "https://ampcode.com"
|
||||
# # Optional: Override API key for Amp upstream (otherwise uses env or file)
|
||||
# upstream-api-key: ""
|
||||
# # Per-client upstream API key mapping
|
||||
# # Maps client API keys (from top-level api-keys) to different Amp upstream API keys.
|
||||
# # Useful when different clients need to use different Amp accounts/quotas.
|
||||
# # If a client key isn't mapped, falls back to upstream-api-key (default behavior).
|
||||
# upstream-api-keys:
|
||||
# - upstream-api-key: "amp_key_for_team_a" # Upstream key to use for these clients
|
||||
# api-keys: # Client keys that use this upstream key
|
||||
# - "your-api-key-1"
|
||||
# - "your-api-key-2"
|
||||
# - upstream-api-key: "amp_key_for_team_b"
|
||||
# api-keys:
|
||||
# - "your-api-key-3"
|
||||
# # Restrict Amp management routes (/api/auth, /api/user, etc.) to localhost only (default: false)
|
||||
# restrict-management-to-localhost: false
|
||||
# # Force model mappings to run before checking local API keys (default: false)
|
||||
# force-model-mappings: false
|
||||
# # Amp Model Mappings
|
||||
# # Route unavailable Amp models to alternative models available in your local proxy.
|
||||
# # Useful when Amp CLI requests models you don't have access to (e.g., Claude Opus 4.5)
|
||||
# # but you have a similar model available (e.g., Claude Sonnet 4).
|
||||
# model-mappings:
|
||||
# - from: "claude-opus-4-5-20251101" # Model requested by Amp CLI
|
||||
# to: "gemini-claude-opus-4-5-thinking" # Route to this available model instead
|
||||
# - from: "claude-sonnet-4-5-20250929"
|
||||
# to: "gemini-claude-sonnet-4-5-thinking"
|
||||
# - from: "claude-haiku-4-5-20251001"
|
||||
# to: "gemini-2.5-flash"
|
||||
|
||||
# Global OAuth model name aliases (per channel)
|
||||
# These aliases rename model IDs for both model listing and request routing.
|
||||
# Supported channels: gemini-cli, vertex, aistudio, antigravity, claude, codex, qwen, iflow, kimi.
|
||||
# NOTE: Aliases do not apply to gemini-api-key, codex-api-key, claude-api-key, openai-compatibility, vertex-api-key, or ampcode.
|
||||
# You can repeat the same name with different aliases to expose multiple client model names.
|
||||
# oauth-model-alias:
|
||||
# gemini-cli:
|
||||
# - name: "gemini-2.5-pro" # original model name under this channel
|
||||
# alias: "g2.5p" # client-visible alias
|
||||
# fork: true # when true, keep original and also add the alias as an extra model (default: false)
|
||||
# vertex:
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "g2.5p"
|
||||
# aistudio:
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "g2.5p"
|
||||
# antigravity:
|
||||
# - name: "gemini-3-pro-high"
|
||||
# alias: "gemini-3-pro-preview"
|
||||
# claude:
|
||||
# - name: "claude-sonnet-4-5-20250929"
|
||||
# alias: "cs4.5"
|
||||
# codex:
|
||||
# - name: "gpt-5"
|
||||
# alias: "g5"
|
||||
# qwen:
|
||||
# - name: "qwen3-coder-plus"
|
||||
# alias: "qwen-plus"
|
||||
# iflow:
|
||||
# - name: "glm-4.7"
|
||||
# alias: "glm-god"
|
||||
# kimi:
|
||||
# - name: "kimi-k2.5"
|
||||
# alias: "k2.5"
|
||||
|
||||
# OAuth provider excluded models
|
||||
# oauth-excluded-models:
|
||||
# gemini-cli:
|
||||
# - "gemini-2.5-pro" # exclude specific models (exact match)
|
||||
# - "gemini-2.5-*" # wildcard matching prefix (e.g. gemini-2.5-flash, gemini-2.5-pro)
|
||||
# - "*-preview" # wildcard matching suffix (e.g. gemini-3-pro-preview)
|
||||
# - "*flash*" # wildcard matching substring (e.g. gemini-2.5-flash-lite)
|
||||
# vertex:
|
||||
# - "gemini-3-pro-preview"
|
||||
# aistudio:
|
||||
# - "gemini-3-pro-preview"
|
||||
# antigravity:
|
||||
# - "gemini-3-pro-preview"
|
||||
# claude:
|
||||
# - "claude-3-5-haiku-20241022"
|
||||
# codex:
|
||||
# - "gpt-5-codex-mini"
|
||||
# qwen:
|
||||
# - "vision-model"
|
||||
# iflow:
|
||||
# - "tstars2.0"
|
||||
# kimi:
|
||||
# - "kimi-k2-thinking"
|
||||
|
||||
# Optional payload configuration
|
||||
# payload:
|
||||
# default: # Default rules only set parameters when they are missing in the payload.
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> value
|
||||
# "generationConfig.thinkingConfig.thinkingBudget": 32768
|
||||
# default-raw: # Default raw rules set parameters using raw JSON when missing (must be valid JSON).
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> raw JSON value (strings are used as-is, must be valid JSON)
|
||||
# "generationConfig.responseJsonSchema": "{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"}}}"
|
||||
# override: # Override rules always set parameters, overwriting any existing values.
|
||||
# - models:
|
||||
# - name: "gpt-*" # Supports wildcards (e.g., "gpt-*")
|
||||
# protocol: "codex" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> value
|
||||
# "reasoning.effort": "high"
|
||||
# override-raw: # Override raw rules always set parameters using raw JSON (must be valid JSON).
|
||||
# - models:
|
||||
# - name: "gpt-*" # Supports wildcards (e.g., "gpt-*")
|
||||
# protocol: "codex" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> raw JSON value (strings are used as-is, must be valid JSON)
|
||||
# "response_format": "{\"type\":\"json_schema\",\"json_schema\":{\"name\":\"answer\",\"schema\":{\"type\":\"object\"}}}"
|
||||
# filter: # Filter rules remove specified parameters from the payload.
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON paths (gjson/sjson syntax) to remove from the payload
|
||||
# - "generationConfig.thinkingConfig.thinkingBudget"
|
||||
# - "generationConfig.responseJsonSchema"
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
services:
|
||||
cli-proxy-api:
|
||||
image: "eceasy/cli-proxy-api:v8.0.69"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
- DEPLOY=${DEPLOY:-}
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8317"
|
||||
- "${PANEL_APP_PORT_8085}:8085"
|
||||
- "${PANEL_APP_PORT_1455}:1455"
|
||||
- "${PANEL_APP_PORT_54545}:54545"
|
||||
- "${PANEL_APP_PORT_51121}:51121"
|
||||
- "${PANEL_APP_PORT_11451}:11451"
|
||||
volumes:
|
||||
- "./data/config.yaml:/CLIProxyAPI/config.yaml"
|
||||
- "./data/auths:/root/.cli-proxy-api"
|
||||
- "./data/logs:/CLIProxyAPI/logs"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
cli-proxy-api:
|
||||
image: "eceasy/cli-proxy-api:v8.0.69"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
- DEPLOY=${DEPLOY:-}
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8317"
|
||||
- "${PANEL_APP_PORT_8085}:8085"
|
||||
- "${PANEL_APP_PORT_1455}:1455"
|
||||
- "${PANEL_APP_PORT_54545}:54545"
|
||||
- "${PANEL_APP_PORT_51121}:51121"
|
||||
- "${PANEL_APP_PORT_11451}:11451"
|
||||
volumes:
|
||||
- "./data/config.yaml:/CLIProxyAPI/config.yaml"
|
||||
- "./data/auths:/root/.cli-proxy-api"
|
||||
- "./data/logs:/CLIProxyAPI/logs"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,330 +1,330 @@
|
||||
# Server host/interface to bind to. Default is empty ("") to bind all interfaces (IPv4 + IPv6).
|
||||
# Use "127.0.0.1" or "localhost" to restrict access to local machine only.
|
||||
host: ""
|
||||
|
||||
# Server port
|
||||
port: 8317
|
||||
|
||||
# TLS settings for HTTPS. When enabled, the server listens with the provided certificate and key.
|
||||
tls:
|
||||
enable: false
|
||||
cert: ""
|
||||
key: ""
|
||||
|
||||
# Management API settings
|
||||
remote-management:
|
||||
# Whether to allow remote (non-localhost) management access.
|
||||
# When false, only localhost can access management endpoints (a key is still required).
|
||||
allow-remote: false
|
||||
|
||||
# Management key. If a plaintext value is provided here, it will be hashed on startup.
|
||||
# All management requests (even from localhost) require this key.
|
||||
# Leave empty to disable the Management API entirely (404 for all /v0/management routes).
|
||||
secret-key: ""
|
||||
|
||||
# Disable the bundled management control panel asset download and HTTP route when true.
|
||||
disable-control-panel: false
|
||||
|
||||
# GitHub repository for the management control panel. Accepts a repository URL or releases API URL.
|
||||
panel-github-repository: "https://github.com/router-for-me/Cli-Proxy-API-Management-Center"
|
||||
|
||||
# Authentication directory (supports ~ for home directory)
|
||||
auth-dir: "~/.cli-proxy-api"
|
||||
|
||||
# API keys for authentication
|
||||
api-keys:
|
||||
- "your-api-key-1"
|
||||
- "your-api-key-2"
|
||||
- "your-api-key-3"
|
||||
|
||||
# Enable debug logging
|
||||
debug: false
|
||||
|
||||
# Enable pprof HTTP debug server (host:port). Keep it bound to localhost for safety.
|
||||
pprof:
|
||||
enable: false
|
||||
addr: "127.0.0.1:8316"
|
||||
|
||||
# When true, disable high-overhead HTTP middleware features to reduce per-request memory usage under high concurrency.
|
||||
commercial-mode: false
|
||||
|
||||
# When true, write application logs to rotating files instead of stdout
|
||||
logging-to-file: false
|
||||
|
||||
# Maximum total size (MB) of log files under the logs directory. When exceeded, the oldest log
|
||||
# files are deleted until within the limit. Set to 0 to disable.
|
||||
logs-max-total-size-mb: 0
|
||||
|
||||
# Maximum number of error log files retained when request logging is disabled.
|
||||
# When exceeded, the oldest error log files are deleted. Default is 10. Set to 0 to disable cleanup.
|
||||
error-logs-max-files: 10
|
||||
|
||||
# When false, disable in-memory usage statistics aggregation
|
||||
usage-statistics-enabled: false
|
||||
|
||||
# Proxy URL. Supports socks5/http/https protocols. Example: socks5://user:pass@192.168.1.1:1080/
|
||||
proxy-url: ""
|
||||
|
||||
# When true, unprefixed model requests only use credentials without a prefix (except when prefix == model name).
|
||||
force-model-prefix: false
|
||||
|
||||
# When true, forward filtered upstream response headers to downstream clients.
|
||||
# Default is false (disabled).
|
||||
passthrough-headers: false
|
||||
|
||||
# Number of times to retry a request. Retries will occur if the HTTP response code is 403, 408, 500, 502, 503, or 504.
|
||||
request-retry: 3
|
||||
|
||||
# Maximum number of different credentials to try for one failed request.
|
||||
# Set to 0 to keep legacy behavior (try all available credentials).
|
||||
max-retry-credentials: 0
|
||||
|
||||
# Maximum wait time in seconds for a cooled-down credential before triggering a retry.
|
||||
max-retry-interval: 30
|
||||
|
||||
# Quota exceeded behavior
|
||||
quota-exceeded:
|
||||
switch-project: true # Whether to automatically switch to another project when a quota is exceeded
|
||||
switch-preview-model: true # Whether to automatically switch to a preview model when a quota is exceeded
|
||||
|
||||
# Routing strategy for selecting credentials when multiple match.
|
||||
routing:
|
||||
strategy: "round-robin" # round-robin (default), fill-first
|
||||
|
||||
# When true, enable authentication for the WebSocket API (/v1/ws).
|
||||
ws-auth: false
|
||||
|
||||
# When > 0, emit blank lines every N seconds for non-streaming responses to prevent idle timeouts.
|
||||
nonstream-keepalive-interval: 0
|
||||
|
||||
# Streaming behavior (SSE keep-alives + safe bootstrap retries).
|
||||
# streaming:
|
||||
# keepalive-seconds: 15 # Default: 0 (disabled). <= 0 disables keep-alives.
|
||||
# bootstrap-retries: 1 # Default: 0 (disabled). Retries before first byte is sent.
|
||||
|
||||
# Gemini API keys
|
||||
# gemini-api-key:
|
||||
# - api-key: "AIzaSy...01"
|
||||
# prefix: "test" # optional: require calls like "test/gemini-3-pro-preview" to target this credential
|
||||
# base-url: "https://generativelanguage.googleapis.com"
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080"
|
||||
# models:
|
||||
# - name: "gemini-2.5-flash" # upstream model name
|
||||
# alias: "gemini-flash" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "gemini-2.5-pro" # exclude specific models from this provider (exact match)
|
||||
# - "gemini-2.5-*" # wildcard matching prefix (e.g. gemini-2.5-flash, gemini-2.5-pro)
|
||||
# - "*-preview" # wildcard matching suffix (e.g. gemini-3-pro-preview)
|
||||
# - "*flash*" # wildcard matching substring (e.g. gemini-2.5-flash-lite)
|
||||
# - api-key: "AIzaSy...02"
|
||||
|
||||
# Codex API keys
|
||||
# codex-api-key:
|
||||
# - api-key: "sk-atSM..."
|
||||
# prefix: "test" # optional: require calls like "test/gpt-5-codex" to target this credential
|
||||
# base-url: "https://www.example.com" # use the custom codex API endpoint
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# models:
|
||||
# - name: "gpt-5-codex" # upstream model name
|
||||
# alias: "codex-latest" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "gpt-5.1" # exclude specific models (exact match)
|
||||
# - "gpt-5-*" # wildcard matching prefix (e.g. gpt-5-medium, gpt-5-codex)
|
||||
# - "*-mini" # wildcard matching suffix (e.g. gpt-5-codex-mini)
|
||||
# - "*codex*" # wildcard matching substring (e.g. gpt-5-codex-low)
|
||||
|
||||
# Claude API keys
|
||||
# claude-api-key:
|
||||
# - api-key: "sk-atSM..." # use the official claude API key, no need to set the base url
|
||||
# - api-key: "sk-atSM..."
|
||||
# prefix: "test" # optional: require calls like "test/claude-sonnet-latest" to target this credential
|
||||
# base-url: "https://www.example.com" # use the custom claude API endpoint
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# models:
|
||||
# - name: "claude-3-5-sonnet-20241022" # upstream model name
|
||||
# alias: "claude-sonnet-latest" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "claude-opus-4-5-20251101" # exclude specific models (exact match)
|
||||
# - "claude-3-*" # wildcard matching prefix (e.g. claude-3-7-sonnet-20250219)
|
||||
# - "*-thinking" # wildcard matching suffix (e.g. claude-opus-4-5-thinking)
|
||||
# - "*haiku*" # wildcard matching substring (e.g. claude-3-5-haiku-20241022)
|
||||
# cloak: # optional: request cloaking for non-Claude-Code clients
|
||||
# mode: "auto" # "auto" (default): cloak only when client is not Claude Code
|
||||
# # "always": always apply cloaking
|
||||
# # "never": never apply cloaking
|
||||
# strict-mode: false # false (default): prepend Claude Code prompt to user system messages
|
||||
# # true: strip all user system messages, keep only Claude Code prompt
|
||||
# sensitive-words: # optional: words to obfuscate with zero-width characters
|
||||
# - "API"
|
||||
# - "proxy"
|
||||
# cache-user-id: true # optional: default is false; set true to reuse cached user_id per API key instead of generating a random one each request
|
||||
|
||||
# Default headers for Claude API requests. Update when Claude Code releases new versions.
|
||||
# These are used as fallbacks when the client does not send its own headers.
|
||||
# claude-header-defaults:
|
||||
# user-agent: "claude-cli/2.1.44 (external, sdk-cli)"
|
||||
# package-version: "0.74.0"
|
||||
# runtime-version: "v24.3.0"
|
||||
# timeout: "600"
|
||||
|
||||
# OpenAI compatibility providers
|
||||
# openai-compatibility:
|
||||
# - name: "openrouter" # The name of the provider; it will be used in the user agent and other places.
|
||||
# prefix: "test" # optional: require calls like "test/kimi-k2" to target this provider's credentials
|
||||
# base-url: "https://openrouter.ai/api/v1" # The base URL of the provider.
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# api-key-entries:
|
||||
# - api-key: "sk-or-v1-...b780"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# - api-key: "sk-or-v1-...b781" # without proxy-url
|
||||
# models: # The models supported by the provider.
|
||||
# - name: "moonshotai/kimi-k2:free" # The actual model name.
|
||||
# alias: "kimi-k2" # The alias used in the API.
|
||||
|
||||
# Vertex API keys (Vertex-compatible endpoints, use API key + base URL)
|
||||
# vertex-api-key:
|
||||
# - api-key: "vk-123..." # x-goog-api-key header
|
||||
# prefix: "test" # optional: require calls like "test/vertex-pro" to target this credential
|
||||
# base-url: "https://example.com/api" # e.g. https://zenmux.ai/api
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional per-key proxy override
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# models: # optional: map aliases to upstream model names
|
||||
# - name: "gemini-2.5-flash" # upstream model name
|
||||
# alias: "vertex-flash" # client-visible alias
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "vertex-pro"
|
||||
|
||||
# Amp Integration
|
||||
# ampcode:
|
||||
# # Configure upstream URL for Amp CLI OAuth and management features
|
||||
# upstream-url: "https://ampcode.com"
|
||||
# # Optional: Override API key for Amp upstream (otherwise uses env or file)
|
||||
# upstream-api-key: ""
|
||||
# # Per-client upstream API key mapping
|
||||
# # Maps client API keys (from top-level api-keys) to different Amp upstream API keys.
|
||||
# # Useful when different clients need to use different Amp accounts/quotas.
|
||||
# # If a client key isn't mapped, falls back to upstream-api-key (default behavior).
|
||||
# upstream-api-keys:
|
||||
# - upstream-api-key: "amp_key_for_team_a" # Upstream key to use for these clients
|
||||
# api-keys: # Client keys that use this upstream key
|
||||
# - "your-api-key-1"
|
||||
# - "your-api-key-2"
|
||||
# - upstream-api-key: "amp_key_for_team_b"
|
||||
# api-keys:
|
||||
# - "your-api-key-3"
|
||||
# # Restrict Amp management routes (/api/auth, /api/user, etc.) to localhost only (default: false)
|
||||
# restrict-management-to-localhost: false
|
||||
# # Force model mappings to run before checking local API keys (default: false)
|
||||
# force-model-mappings: false
|
||||
# # Amp Model Mappings
|
||||
# # Route unavailable Amp models to alternative models available in your local proxy.
|
||||
# # Useful when Amp CLI requests models you don't have access to (e.g., Claude Opus 4.5)
|
||||
# # but you have a similar model available (e.g., Claude Sonnet 4).
|
||||
# model-mappings:
|
||||
# - from: "claude-opus-4-5-20251101" # Model requested by Amp CLI
|
||||
# to: "gemini-claude-opus-4-5-thinking" # Route to this available model instead
|
||||
# - from: "claude-sonnet-4-5-20250929"
|
||||
# to: "gemini-claude-sonnet-4-5-thinking"
|
||||
# - from: "claude-haiku-4-5-20251001"
|
||||
# to: "gemini-2.5-flash"
|
||||
|
||||
# Global OAuth model name aliases (per channel)
|
||||
# These aliases rename model IDs for both model listing and request routing.
|
||||
# Supported channels: gemini-cli, vertex, aistudio, antigravity, claude, codex, qwen, iflow, kimi.
|
||||
# NOTE: Aliases do not apply to gemini-api-key, codex-api-key, claude-api-key, openai-compatibility, vertex-api-key, or ampcode.
|
||||
# You can repeat the same name with different aliases to expose multiple client model names.
|
||||
# oauth-model-alias:
|
||||
# gemini-cli:
|
||||
# - name: "gemini-2.5-pro" # original model name under this channel
|
||||
# alias: "g2.5p" # client-visible alias
|
||||
# fork: true # when true, keep original and also add the alias as an extra model (default: false)
|
||||
# vertex:
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "g2.5p"
|
||||
# aistudio:
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "g2.5p"
|
||||
# antigravity:
|
||||
# - name: "gemini-3-pro-high"
|
||||
# alias: "gemini-3-pro-preview"
|
||||
# claude:
|
||||
# - name: "claude-sonnet-4-5-20250929"
|
||||
# alias: "cs4.5"
|
||||
# codex:
|
||||
# - name: "gpt-5"
|
||||
# alias: "g5"
|
||||
# qwen:
|
||||
# - name: "qwen3-coder-plus"
|
||||
# alias: "qwen-plus"
|
||||
# iflow:
|
||||
# - name: "glm-4.7"
|
||||
# alias: "glm-god"
|
||||
# kimi:
|
||||
# - name: "kimi-k2.5"
|
||||
# alias: "k2.5"
|
||||
|
||||
# OAuth provider excluded models
|
||||
# oauth-excluded-models:
|
||||
# gemini-cli:
|
||||
# - "gemini-2.5-pro" # exclude specific models (exact match)
|
||||
# - "gemini-2.5-*" # wildcard matching prefix (e.g. gemini-2.5-flash, gemini-2.5-pro)
|
||||
# - "*-preview" # wildcard matching suffix (e.g. gemini-3-pro-preview)
|
||||
# - "*flash*" # wildcard matching substring (e.g. gemini-2.5-flash-lite)
|
||||
# vertex:
|
||||
# - "gemini-3-pro-preview"
|
||||
# aistudio:
|
||||
# - "gemini-3-pro-preview"
|
||||
# antigravity:
|
||||
# - "gemini-3-pro-preview"
|
||||
# claude:
|
||||
# - "claude-3-5-haiku-20241022"
|
||||
# codex:
|
||||
# - "gpt-5-codex-mini"
|
||||
# qwen:
|
||||
# - "vision-model"
|
||||
# iflow:
|
||||
# - "tstars2.0"
|
||||
# kimi:
|
||||
# - "kimi-k2-thinking"
|
||||
|
||||
# Optional payload configuration
|
||||
# payload:
|
||||
# default: # Default rules only set parameters when they are missing in the payload.
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> value
|
||||
# "generationConfig.thinkingConfig.thinkingBudget": 32768
|
||||
# default-raw: # Default raw rules set parameters using raw JSON when missing (must be valid JSON).
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> raw JSON value (strings are used as-is, must be valid JSON)
|
||||
# "generationConfig.responseJsonSchema": "{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"}}}"
|
||||
# override: # Override rules always set parameters, overwriting any existing values.
|
||||
# - models:
|
||||
# - name: "gpt-*" # Supports wildcards (e.g., "gpt-*")
|
||||
# protocol: "codex" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> value
|
||||
# "reasoning.effort": "high"
|
||||
# override-raw: # Override raw rules always set parameters using raw JSON (must be valid JSON).
|
||||
# - models:
|
||||
# - name: "gpt-*" # Supports wildcards (e.g., "gpt-*")
|
||||
# protocol: "codex" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> raw JSON value (strings are used as-is, must be valid JSON)
|
||||
# "response_format": "{\"type\":\"json_schema\",\"json_schema\":{\"name\":\"answer\",\"schema\":{\"type\":\"object\"}}}"
|
||||
# filter: # Filter rules remove specified parameters from the payload.
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON paths (gjson/sjson syntax) to remove from the payload
|
||||
# - "generationConfig.thinkingConfig.thinkingBudget"
|
||||
# - "generationConfig.responseJsonSchema"
|
||||
# Server host/interface to bind to. Default is empty ("") to bind all interfaces (IPv4 + IPv6).
|
||||
# Use "127.0.0.1" or "localhost" to restrict access to local machine only.
|
||||
host: ""
|
||||
|
||||
# Server port
|
||||
port: 8317
|
||||
|
||||
# TLS settings for HTTPS. When enabled, the server listens with the provided certificate and key.
|
||||
tls:
|
||||
enable: false
|
||||
cert: ""
|
||||
key: ""
|
||||
|
||||
# Management API settings
|
||||
remote-management:
|
||||
# Whether to allow remote (non-localhost) management access.
|
||||
# When false, only localhost can access management endpoints (a key is still required).
|
||||
allow-remote: false
|
||||
|
||||
# Management key. If a plaintext value is provided here, it will be hashed on startup.
|
||||
# All management requests (even from localhost) require this key.
|
||||
# Leave empty to disable the Management API entirely (404 for all /v0/management routes).
|
||||
secret-key: ""
|
||||
|
||||
# Disable the bundled management control panel asset download and HTTP route when true.
|
||||
disable-control-panel: false
|
||||
|
||||
# GitHub repository for the management control panel. Accepts a repository URL or releases API URL.
|
||||
panel-github-repository: "https://github.com/router-for-me/Cli-Proxy-API-Management-Center"
|
||||
|
||||
# Authentication directory (supports ~ for home directory)
|
||||
auth-dir: "~/.cli-proxy-api"
|
||||
|
||||
# API keys for authentication
|
||||
api-keys:
|
||||
- "your-api-key-1"
|
||||
- "your-api-key-2"
|
||||
- "your-api-key-3"
|
||||
|
||||
# Enable debug logging
|
||||
debug: false
|
||||
|
||||
# Enable pprof HTTP debug server (host:port). Keep it bound to localhost for safety.
|
||||
pprof:
|
||||
enable: false
|
||||
addr: "127.0.0.1:8316"
|
||||
|
||||
# When true, disable high-overhead HTTP middleware features to reduce per-request memory usage under high concurrency.
|
||||
commercial-mode: false
|
||||
|
||||
# When true, write application logs to rotating files instead of stdout
|
||||
logging-to-file: false
|
||||
|
||||
# Maximum total size (MB) of log files under the logs directory. When exceeded, the oldest log
|
||||
# files are deleted until within the limit. Set to 0 to disable.
|
||||
logs-max-total-size-mb: 0
|
||||
|
||||
# Maximum number of error log files retained when request logging is disabled.
|
||||
# When exceeded, the oldest error log files are deleted. Default is 10. Set to 0 to disable cleanup.
|
||||
error-logs-max-files: 10
|
||||
|
||||
# When false, disable in-memory usage statistics aggregation
|
||||
usage-statistics-enabled: false
|
||||
|
||||
# Proxy URL. Supports socks5/http/https protocols. Example: socks5://user:pass@192.168.1.1:1080/
|
||||
proxy-url: ""
|
||||
|
||||
# When true, unprefixed model requests only use credentials without a prefix (except when prefix == model name).
|
||||
force-model-prefix: false
|
||||
|
||||
# When true, forward filtered upstream response headers to downstream clients.
|
||||
# Default is false (disabled).
|
||||
passthrough-headers: false
|
||||
|
||||
# Number of times to retry a request. Retries will occur if the HTTP response code is 403, 408, 500, 502, 503, or 504.
|
||||
request-retry: 3
|
||||
|
||||
# Maximum number of different credentials to try for one failed request.
|
||||
# Set to 0 to keep legacy behavior (try all available credentials).
|
||||
max-retry-credentials: 0
|
||||
|
||||
# Maximum wait time in seconds for a cooled-down credential before triggering a retry.
|
||||
max-retry-interval: 30
|
||||
|
||||
# Quota exceeded behavior
|
||||
quota-exceeded:
|
||||
switch-project: true # Whether to automatically switch to another project when a quota is exceeded
|
||||
switch-preview-model: true # Whether to automatically switch to a preview model when a quota is exceeded
|
||||
|
||||
# Routing strategy for selecting credentials when multiple match.
|
||||
routing:
|
||||
strategy: "round-robin" # round-robin (default), fill-first
|
||||
|
||||
# When true, enable authentication for the WebSocket API (/v1/ws).
|
||||
ws-auth: false
|
||||
|
||||
# When > 0, emit blank lines every N seconds for non-streaming responses to prevent idle timeouts.
|
||||
nonstream-keepalive-interval: 0
|
||||
|
||||
# Streaming behavior (SSE keep-alives + safe bootstrap retries).
|
||||
# streaming:
|
||||
# keepalive-seconds: 15 # Default: 0 (disabled). <= 0 disables keep-alives.
|
||||
# bootstrap-retries: 1 # Default: 0 (disabled). Retries before first byte is sent.
|
||||
|
||||
# Gemini API keys
|
||||
# gemini-api-key:
|
||||
# - api-key: "AIzaSy...01"
|
||||
# prefix: "test" # optional: require calls like "test/gemini-3-pro-preview" to target this credential
|
||||
# base-url: "https://generativelanguage.googleapis.com"
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080"
|
||||
# models:
|
||||
# - name: "gemini-2.5-flash" # upstream model name
|
||||
# alias: "gemini-flash" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "gemini-2.5-pro" # exclude specific models from this provider (exact match)
|
||||
# - "gemini-2.5-*" # wildcard matching prefix (e.g. gemini-2.5-flash, gemini-2.5-pro)
|
||||
# - "*-preview" # wildcard matching suffix (e.g. gemini-3-pro-preview)
|
||||
# - "*flash*" # wildcard matching substring (e.g. gemini-2.5-flash-lite)
|
||||
# - api-key: "AIzaSy...02"
|
||||
|
||||
# Codex API keys
|
||||
# codex-api-key:
|
||||
# - api-key: "sk-atSM..."
|
||||
# prefix: "test" # optional: require calls like "test/gpt-5-codex" to target this credential
|
||||
# base-url: "https://www.example.com" # use the custom codex API endpoint
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# models:
|
||||
# - name: "gpt-5-codex" # upstream model name
|
||||
# alias: "codex-latest" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "gpt-5.1" # exclude specific models (exact match)
|
||||
# - "gpt-5-*" # wildcard matching prefix (e.g. gpt-5-medium, gpt-5-codex)
|
||||
# - "*-mini" # wildcard matching suffix (e.g. gpt-5-codex-mini)
|
||||
# - "*codex*" # wildcard matching substring (e.g. gpt-5-codex-low)
|
||||
|
||||
# Claude API keys
|
||||
# claude-api-key:
|
||||
# - api-key: "sk-atSM..." # use the official claude API key, no need to set the base url
|
||||
# - api-key: "sk-atSM..."
|
||||
# prefix: "test" # optional: require calls like "test/claude-sonnet-latest" to target this credential
|
||||
# base-url: "https://www.example.com" # use the custom claude API endpoint
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# models:
|
||||
# - name: "claude-3-5-sonnet-20241022" # upstream model name
|
||||
# alias: "claude-sonnet-latest" # client alias mapped to the upstream model
|
||||
# excluded-models:
|
||||
# - "claude-opus-4-5-20251101" # exclude specific models (exact match)
|
||||
# - "claude-3-*" # wildcard matching prefix (e.g. claude-3-7-sonnet-20250219)
|
||||
# - "*-thinking" # wildcard matching suffix (e.g. claude-opus-4-5-thinking)
|
||||
# - "*haiku*" # wildcard matching substring (e.g. claude-3-5-haiku-20241022)
|
||||
# cloak: # optional: request cloaking for non-Claude-Code clients
|
||||
# mode: "auto" # "auto" (default): cloak only when client is not Claude Code
|
||||
# # "always": always apply cloaking
|
||||
# # "never": never apply cloaking
|
||||
# strict-mode: false # false (default): prepend Claude Code prompt to user system messages
|
||||
# # true: strip all user system messages, keep only Claude Code prompt
|
||||
# sensitive-words: # optional: words to obfuscate with zero-width characters
|
||||
# - "API"
|
||||
# - "proxy"
|
||||
# cache-user-id: true # optional: default is false; set true to reuse cached user_id per API key instead of generating a random one each request
|
||||
|
||||
# Default headers for Claude API requests. Update when Claude Code releases new versions.
|
||||
# These are used as fallbacks when the client does not send its own headers.
|
||||
# claude-header-defaults:
|
||||
# user-agent: "claude-cli/2.1.44 (external, sdk-cli)"
|
||||
# package-version: "0.74.0"
|
||||
# runtime-version: "v24.3.0"
|
||||
# timeout: "600"
|
||||
|
||||
# OpenAI compatibility providers
|
||||
# openai-compatibility:
|
||||
# - name: "openrouter" # The name of the provider; it will be used in the user agent and other places.
|
||||
# prefix: "test" # optional: require calls like "test/kimi-k2" to target this provider's credentials
|
||||
# base-url: "https://openrouter.ai/api/v1" # The base URL of the provider.
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# api-key-entries:
|
||||
# - api-key: "sk-or-v1-...b780"
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override
|
||||
# - api-key: "sk-or-v1-...b781" # without proxy-url
|
||||
# models: # The models supported by the provider.
|
||||
# - name: "moonshotai/kimi-k2:free" # The actual model name.
|
||||
# alias: "kimi-k2" # The alias used in the API.
|
||||
|
||||
# Vertex API keys (Vertex-compatible endpoints, use API key + base URL)
|
||||
# vertex-api-key:
|
||||
# - api-key: "vk-123..." # x-goog-api-key header
|
||||
# prefix: "test" # optional: require calls like "test/vertex-pro" to target this credential
|
||||
# base-url: "https://example.com/api" # e.g. https://zenmux.ai/api
|
||||
# proxy-url: "socks5://proxy.example.com:1080" # optional per-key proxy override
|
||||
# headers:
|
||||
# X-Custom-Header: "custom-value"
|
||||
# models: # optional: map aliases to upstream model names
|
||||
# - name: "gemini-2.5-flash" # upstream model name
|
||||
# alias: "vertex-flash" # client-visible alias
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "vertex-pro"
|
||||
|
||||
# Amp Integration
|
||||
# ampcode:
|
||||
# # Configure upstream URL for Amp CLI OAuth and management features
|
||||
# upstream-url: "https://ampcode.com"
|
||||
# # Optional: Override API key for Amp upstream (otherwise uses env or file)
|
||||
# upstream-api-key: ""
|
||||
# # Per-client upstream API key mapping
|
||||
# # Maps client API keys (from top-level api-keys) to different Amp upstream API keys.
|
||||
# # Useful when different clients need to use different Amp accounts/quotas.
|
||||
# # If a client key isn't mapped, falls back to upstream-api-key (default behavior).
|
||||
# upstream-api-keys:
|
||||
# - upstream-api-key: "amp_key_for_team_a" # Upstream key to use for these clients
|
||||
# api-keys: # Client keys that use this upstream key
|
||||
# - "your-api-key-1"
|
||||
# - "your-api-key-2"
|
||||
# - upstream-api-key: "amp_key_for_team_b"
|
||||
# api-keys:
|
||||
# - "your-api-key-3"
|
||||
# # Restrict Amp management routes (/api/auth, /api/user, etc.) to localhost only (default: false)
|
||||
# restrict-management-to-localhost: false
|
||||
# # Force model mappings to run before checking local API keys (default: false)
|
||||
# force-model-mappings: false
|
||||
# # Amp Model Mappings
|
||||
# # Route unavailable Amp models to alternative models available in your local proxy.
|
||||
# # Useful when Amp CLI requests models you don't have access to (e.g., Claude Opus 4.5)
|
||||
# # but you have a similar model available (e.g., Claude Sonnet 4).
|
||||
# model-mappings:
|
||||
# - from: "claude-opus-4-5-20251101" # Model requested by Amp CLI
|
||||
# to: "gemini-claude-opus-4-5-thinking" # Route to this available model instead
|
||||
# - from: "claude-sonnet-4-5-20250929"
|
||||
# to: "gemini-claude-sonnet-4-5-thinking"
|
||||
# - from: "claude-haiku-4-5-20251001"
|
||||
# to: "gemini-2.5-flash"
|
||||
|
||||
# Global OAuth model name aliases (per channel)
|
||||
# These aliases rename model IDs for both model listing and request routing.
|
||||
# Supported channels: gemini-cli, vertex, aistudio, antigravity, claude, codex, qwen, iflow, kimi.
|
||||
# NOTE: Aliases do not apply to gemini-api-key, codex-api-key, claude-api-key, openai-compatibility, vertex-api-key, or ampcode.
|
||||
# You can repeat the same name with different aliases to expose multiple client model names.
|
||||
# oauth-model-alias:
|
||||
# gemini-cli:
|
||||
# - name: "gemini-2.5-pro" # original model name under this channel
|
||||
# alias: "g2.5p" # client-visible alias
|
||||
# fork: true # when true, keep original and also add the alias as an extra model (default: false)
|
||||
# vertex:
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "g2.5p"
|
||||
# aistudio:
|
||||
# - name: "gemini-2.5-pro"
|
||||
# alias: "g2.5p"
|
||||
# antigravity:
|
||||
# - name: "gemini-3-pro-high"
|
||||
# alias: "gemini-3-pro-preview"
|
||||
# claude:
|
||||
# - name: "claude-sonnet-4-5-20250929"
|
||||
# alias: "cs4.5"
|
||||
# codex:
|
||||
# - name: "gpt-5"
|
||||
# alias: "g5"
|
||||
# qwen:
|
||||
# - name: "qwen3-coder-plus"
|
||||
# alias: "qwen-plus"
|
||||
# iflow:
|
||||
# - name: "glm-4.7"
|
||||
# alias: "glm-god"
|
||||
# kimi:
|
||||
# - name: "kimi-k2.5"
|
||||
# alias: "k2.5"
|
||||
|
||||
# OAuth provider excluded models
|
||||
# oauth-excluded-models:
|
||||
# gemini-cli:
|
||||
# - "gemini-2.5-pro" # exclude specific models (exact match)
|
||||
# - "gemini-2.5-*" # wildcard matching prefix (e.g. gemini-2.5-flash, gemini-2.5-pro)
|
||||
# - "*-preview" # wildcard matching suffix (e.g. gemini-3-pro-preview)
|
||||
# - "*flash*" # wildcard matching substring (e.g. gemini-2.5-flash-lite)
|
||||
# vertex:
|
||||
# - "gemini-3-pro-preview"
|
||||
# aistudio:
|
||||
# - "gemini-3-pro-preview"
|
||||
# antigravity:
|
||||
# - "gemini-3-pro-preview"
|
||||
# claude:
|
||||
# - "claude-3-5-haiku-20241022"
|
||||
# codex:
|
||||
# - "gpt-5-codex-mini"
|
||||
# qwen:
|
||||
# - "vision-model"
|
||||
# iflow:
|
||||
# - "tstars2.0"
|
||||
# kimi:
|
||||
# - "kimi-k2-thinking"
|
||||
|
||||
# Optional payload configuration
|
||||
# payload:
|
||||
# default: # Default rules only set parameters when they are missing in the payload.
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> value
|
||||
# "generationConfig.thinkingConfig.thinkingBudget": 32768
|
||||
# default-raw: # Default raw rules set parameters using raw JSON when missing (must be valid JSON).
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> raw JSON value (strings are used as-is, must be valid JSON)
|
||||
# "generationConfig.responseJsonSchema": "{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"}}}"
|
||||
# override: # Override rules always set parameters, overwriting any existing values.
|
||||
# - models:
|
||||
# - name: "gpt-*" # Supports wildcards (e.g., "gpt-*")
|
||||
# protocol: "codex" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> value
|
||||
# "reasoning.effort": "high"
|
||||
# override-raw: # Override raw rules always set parameters using raw JSON (must be valid JSON).
|
||||
# - models:
|
||||
# - name: "gpt-*" # Supports wildcards (e.g., "gpt-*")
|
||||
# protocol: "codex" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON path (gjson/sjson syntax) -> raw JSON value (strings are used as-is, must be valid JSON)
|
||||
# "response_format": "{\"type\":\"json_schema\",\"json_schema\":{\"name\":\"answer\",\"schema\":{\"type\":\"object\"}}}"
|
||||
# filter: # Filter rules remove specified parameters from the payload.
|
||||
# - models:
|
||||
# - name: "gemini-2.5-pro" # Supports wildcards (e.g., "gemini-*")
|
||||
# protocol: "gemini" # restricts the rule to a specific protocol, options: openai, gemini, claude, codex, antigravity
|
||||
# params: # JSON paths (gjson/sjson syntax) to remove from the payload
|
||||
# - "generationConfig.thinkingConfig.thinkingBudget"
|
||||
# - "generationConfig.responseJsonSchema"
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
services:
|
||||
cli-proxy-api:
|
||||
image: "eceasy/cli-proxy-api:v8.0.70"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
- DEPLOY=${DEPLOY:-}
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8317"
|
||||
- "${PANEL_APP_PORT_8085}:8085"
|
||||
- "${PANEL_APP_PORT_1455}:1455"
|
||||
- "${PANEL_APP_PORT_54545}:54545"
|
||||
- "${PANEL_APP_PORT_51121}:51121"
|
||||
- "${PANEL_APP_PORT_11451}:11451"
|
||||
volumes:
|
||||
- "./data/config.yaml:/CLIProxyAPI/config.yaml"
|
||||
- "./data/auths:/root/.cli-proxy-api"
|
||||
- "./data/logs:/CLIProxyAPI/logs"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
cli-proxy-api:
|
||||
image: "eceasy/cli-proxy-api:v8.0.70"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
- DEPLOY=${DEPLOY:-}
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8317"
|
||||
- "${PANEL_APP_PORT_8085}:8085"
|
||||
- "${PANEL_APP_PORT_1455}:1455"
|
||||
- "${PANEL_APP_PORT_54545}:54545"
|
||||
- "${PANEL_APP_PORT_51121}:51121"
|
||||
- "${PANEL_APP_PORT_11451}:11451"
|
||||
volumes:
|
||||
- "./data/config.yaml:/CLIProxyAPI/config.yaml"
|
||||
- "./data/auths:/root/.cli-proxy-api"
|
||||
- "./data/logs:/CLIProxyAPI/logs"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -10,9 +10,9 @@ services:
|
||||
- "${DATA_PATH}:/opt/cloudbeaver/workspace"
|
||||
tty: true
|
||||
image: dbeaver/cloudbeaver:26.2.5
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -10,9 +10,9 @@ services:
|
||||
- "${DATA_PATH}:/opt/cloudbeaver/workspace"
|
||||
tty: true
|
||||
image: dbeaver/cloudbeaver:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
- /dev/fuse:/dev/fuse
|
||||
pid: "host"
|
||||
privileged: ${PRIVILEGED_MODE}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
- /dev/fuse:/dev/fuse
|
||||
pid: "host"
|
||||
privileged: ${PRIVILEGED_MODE}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
|
||||
@@ -2,23 +2,52 @@ name: Cloudflare Mesh
|
||||
tags:
|
||||
- Tool
|
||||
title: Cloudflare Mesh
|
||||
description: Cloudflare Mesh
|
||||
description: "通过 Cloudflare One 连接私有网络的 Cloudflare Mesh 连接器。"
|
||||
additionalProperties:
|
||||
key: cloudflare-mesh
|
||||
name: Cloudflare Mesh
|
||||
tags:
|
||||
- Tool
|
||||
shortDescZh: Cloudflare Mesh
|
||||
shortDescEn: Cloudflare Mesh
|
||||
shortDescZh: "通过 Cloudflare One 连接私有网络的 Cloudflare Mesh 连接器。"
|
||||
shortDescEn: >-
|
||||
A Cloudflare Mesh connector for linking private networks through Cloudflare
|
||||
One.
|
||||
description:
|
||||
en: A Cloudflare Mesh connector container for connecting private networks through the Cloudflare One platform.
|
||||
zh: Cloudflare Mesh 连接器容器,用于通过 Cloudflare One 平台连接私有网络。
|
||||
zh-Hant: Cloudflare Mesh 連接器容器,用於透過 Cloudflare One 平台連接私有網路。
|
||||
ja: Cloudflare One プラットフォームを通じてプライベートネットワークを接続する Cloudflare Mesh コネクタコンテナです。
|
||||
ko: Cloudflare One 플랫폼을 통해 사설 네트워크를 연결하는 Cloudflare Mesh 커넥터 컨테이너입니다.
|
||||
ru: Контейнер-коннектор Cloudflare Mesh для соединения частных сетей через платформу Cloudflare One.
|
||||
ms: Kontena penyambung Cloudflare Mesh untuk menyambungkan rangkaian peribadi melalui platform Cloudflare One.
|
||||
pt-br: Contêiner conector do Cloudflare Mesh para conectar redes privadas pela plataforma Cloudflare One.
|
||||
en: >-
|
||||
A Cloudflare Mesh connector for linking private networks through
|
||||
Cloudflare One.
|
||||
zh: "通过 Cloudflare One 连接私有网络的 Cloudflare Mesh 连接器。"
|
||||
zh-hant: "透過 Cloudflare One 連接私人網路的 Cloudflare Mesh 連接器。"
|
||||
zh-Hant: "透過 Cloudflare One 連接私人網路的 Cloudflare Mesh 連接器。"
|
||||
ja: "Cloudflare Oneを通じてプライベートネットワークを接続するCloudflare Meshコネクター。"
|
||||
ko: "Cloudflare One을 통해 사설 네트워크를 연결하는 Cloudflare Mesh 커넥터입니다."
|
||||
ru: >-
|
||||
Коннектор Cloudflare Mesh для подключения частных сетей через Cloudflare
|
||||
One.
|
||||
ms: >-
|
||||
Penyambung Cloudflare Mesh untuk menghubungkan rangkaian persendirian
|
||||
melalui Cloudflare One.
|
||||
pt-br: >-
|
||||
Conector Cloudflare Mesh para conectar redes privadas por meio do
|
||||
Cloudflare One.
|
||||
pt-BR: >-
|
||||
Conector Cloudflare Mesh para conectar redes privadas por meio do
|
||||
Cloudflare One.
|
||||
tr: >-
|
||||
Cloudflare One üzerinden özel ağları birbirine bağlayan Cloudflare Mesh
|
||||
bağlayıcısı.
|
||||
es-es: >-
|
||||
Conector de Cloudflare Mesh para conectar redes privadas a través de
|
||||
Cloudflare One.
|
||||
es-ES: >-
|
||||
Conector de Cloudflare Mesh para conectar redes privadas a través de
|
||||
Cloudflare One.
|
||||
fa: >-
|
||||
اتصالدهنده Cloudflare Mesh برای پیوند شبکههای خصوصی از طریق Cloudflare
|
||||
One.
|
||||
lo: >-
|
||||
ຕົວເຊື່ອມຕໍ່ Cloudflare Mesh ສຳລັບເຊື່ອມໂຍງເຄືອຂ່າຍສ່ວນຕົວຜ່ານ Cloudflare
|
||||
One.
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
|
||||
@@ -6,7 +6,7 @@ services:
|
||||
networks:
|
||||
- 1panel-network
|
||||
command: tunnel --no-autoupdate run --token ${CFD_TOKEN}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
|
||||
@@ -6,7 +6,7 @@ services:
|
||||
networks:
|
||||
- 1panel-network
|
||||
command: tunnel --no-autoupdate run --token ${CFD_TOKEN}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
|
||||
@@ -6,7 +6,7 @@ services:
|
||||
networks:
|
||||
- 1panel-network
|
||||
command: tunnel --no-autoupdate run --token ${CFD_TOKEN}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
CONTAINER_NAME="cloudreve"
|
||||
PANEL_APP_PORT_HTTP="40033"
|
||||
UPLOAD_PATH="./data/uploads"
|
||||
TMP_PATH="./data/data"
|
||||
TMP_PATH="./data/data"
|
||||
|
||||
@@ -13,9 +13,9 @@ services:
|
||||
- "./data/cloudreve.db:/cloudreve/cloudreve.db"
|
||||
- "./data/avatar:/cloudreve/avatar"
|
||||
image: cloudreve/cloudreve:4.19.1
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
CONTAINER_NAME="cloudreve"
|
||||
PANEL_APP_PORT_HTTP="40033"
|
||||
UPLOAD_PATH="./data/uploads"
|
||||
TMP_PATH="./data/data"
|
||||
TMP_PATH="./data/data"
|
||||
|
||||
@@ -13,9 +13,9 @@ services:
|
||||
- "./data/cloudreve.db:/cloudreve/cloudreve.db"
|
||||
- "./data/avatar:/cloudreve/avatar"
|
||||
image: cloudreve/cloudreve:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -12,15 +12,15 @@ services:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Asia/Shanghai
|
||||
- PASSWORD=${WEB_PASSWORD}
|
||||
- SUDO_PASSWORD=${SUDO_PASSWORD}
|
||||
- PASSWORD=${WEB_PASSWORD}
|
||||
- SUDO_PASSWORD=${SUDO_PASSWORD}
|
||||
- PROXY_DOMAIN=${PROXY_DOMAIN:-}
|
||||
- DEFAULT_WORKSPACE=${DEFAULT_WORKSPACE:-/config/workspace}
|
||||
- PWA_APPNAME=${PWA_APPNAME:-code-server}
|
||||
image: "linuxserver/code-server:4.145.2"
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -12,15 +12,15 @@ services:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Asia/Shanghai
|
||||
- PASSWORD=${WEB_PASSWORD}
|
||||
- SUDO_PASSWORD=${SUDO_PASSWORD}
|
||||
- PASSWORD=${WEB_PASSWORD}
|
||||
- SUDO_PASSWORD=${SUDO_PASSWORD}
|
||||
- PROXY_DOMAIN=${PROXY_DOMAIN:-}
|
||||
- DEFAULT_WORKSPACE=${DEFAULT_WORKSPACE:-/config/workspace}
|
||||
- PWA_APPNAME=${PWA_APPNAME:-code-server}
|
||||
image: "linuxserver/code-server:latest"
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -8,9 +8,9 @@ services:
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:80"
|
||||
tty: true
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -8,9 +8,9 @@ services:
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:80"
|
||||
tty: true
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -11,9 +11,9 @@ services:
|
||||
- "${DATA_PATH}:/data/api/data"
|
||||
environment:
|
||||
- API_ROOT=${API_ROOT}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -11,9 +11,9 @@ services:
|
||||
- "${DATA_PATH}:/data/api/data"
|
||||
environment:
|
||||
- API_ROOT=${API_ROOT}
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -7,9 +7,9 @@ services:
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:6688"
|
||||
image: liwangsheng/dailyhot-api:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -10,9 +10,9 @@ services:
|
||||
- "API=${API_URL}"
|
||||
- "ICP=${ICP_TEXT}"
|
||||
image: liwangsheng/dailyhot-web:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -13,9 +13,9 @@ services:
|
||||
privileged: true
|
||||
tty: true
|
||||
image: mauricenino/dashdot:dev
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -13,9 +13,9 @@ services:
|
||||
privileged: true
|
||||
tty: true
|
||||
image: mauricenino/dashdot:sha-6f7544d
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -9,9 +9,9 @@ services:
|
||||
volumes:
|
||||
- "${DATA_PATH}:/dashmachine/dashmachine/user_data"
|
||||
image: rmountjoy/dashmachine:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -44,4 +44,3 @@ sections:
|
||||
description: Get help with Dashy, raise a bug, or get in contact
|
||||
url: https://github.com/Lissy93/dashy/blob/master/.github/SUPPORT.md
|
||||
icon: far fa-hands-helping
|
||||
|
||||
@@ -20,9 +20,9 @@ services:
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
image: lissy93/dashy:4.9.17
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -44,4 +44,3 @@ sections:
|
||||
description: Get help with Dashy, raise a bug, or get in contact
|
||||
url: https://github.com/Lissy93/dashy/blob/master/.github/SUPPORT.md
|
||||
icon: far fa-hands-helping
|
||||
|
||||
@@ -20,9 +20,9 @@ services:
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
image: lissy93/dashy:4.9.18
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -44,4 +44,3 @@ sections:
|
||||
description: Get help with Dashy, raise a bug, or get in contact
|
||||
url: https://github.com/Lissy93/dashy/blob/master/.github/SUPPORT.md
|
||||
icon: far fa-hands-helping
|
||||
|
||||
@@ -20,9 +20,9 @@ services:
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
image: lissy93/dashy:latest
|
||||
labels:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
CONTAINER_NAME="dbgate"
|
||||
PANEL_APP_PORT_HTTP="40200"
|
||||
DATA_PATH="./data"
|
||||
DATA_PATH="./data"
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
services:
|
||||
dbgate:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:3000"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/root/.dbgate"
|
||||
image: "dbgate/dbgate:7.3.6"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
dbgate:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:3000"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/root/.dbgate"
|
||||
image: "dbgate/dbgate:7.3.6"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
CONTAINER_NAME="dbgate"
|
||||
PANEL_APP_PORT_HTTP="40200"
|
||||
DATA_PATH="./data"
|
||||
DATA_PATH="./data"
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
services:
|
||||
dbgate:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:3000"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/root/.dbgate"
|
||||
image: "dbgate/dbgate:beta"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
dbgate:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:3000"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/root/.dbgate"
|
||||
image: "dbgate/dbgate:beta"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
CONTAINER_NAME="dbgate"
|
||||
PANEL_APP_PORT_HTTP="40200"
|
||||
DATA_PATH="./data"
|
||||
DATA_PATH="./data"
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
services:
|
||||
dbgate:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:3000"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/root/.dbgate"
|
||||
image: "dbgate/dbgate:latest"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
dbgate:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:3000"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/root/.dbgate"
|
||||
image: "dbgate/dbgate:latest"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
CONTAINER_NAME="ddns-go"
|
||||
PANEL_APP_PORT_HTTP="9876"
|
||||
DATA_PATH="./data"
|
||||
DATA_PATH="./data"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
CONTAINER_NAME="ddns-go"
|
||||
PANEL_APP_PORT_HTTP="9876"
|
||||
DATA_PATH="./data"
|
||||
DATA_PATH="./data"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user