1
0
Fork 0

Update gh-proxy

This commit is contained in:
pooneyy 2025-07-01 17:34:13 +08:00
parent 50a389eba6
commit 866a95322c
6 changed files with 45 additions and 5 deletions

View File

@ -0,0 +1,18 @@
services:
gh-proxy:
image: wjqserver/ghproxy:4.1.4
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8080"
volumes:
- ${DATA_PATH}/log:/data/ghproxy/log
- ${DATA_PATH}/config:/data/ghproxy/config
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="gh-proxy"
PANEL_APP_PORT_HTTP="40170"
DATA_PATH="./data"

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 40170
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data"
disabled: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text

View File

@ -6,11 +6,13 @@ services:
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
image: stilleshan/gh-proxy:2024-02-19
labels:
- "${PANEL_APP_PORT_HTTP}:8080"
volumes:
- ${DATA_PATH}/log:/data/ghproxy/log
- ${DATA_PATH}/config:/data/ghproxy/config
labels:
createdBy: "Apps"
networks:
networks:
1panel-network:
external: true
external: true