Update gh-proxy
This commit is contained in:
parent
50a389eba6
commit
866a95322c
|
|
@ -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
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
CONTAINER_NAME="gh-proxy"
|
||||||
|
PANEL_APP_PORT_HTTP="40170"
|
||||||
|
DATA_PATH="./data"
|
||||||
|
|
@ -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
|
||||||
|
|
@ -6,8 +6,10 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
ports:
|
ports:
|
||||||
- "${PANEL_APP_PORT_HTTP}:80"
|
- "${PANEL_APP_PORT_HTTP}:8080"
|
||||||
image: stilleshan/gh-proxy:2024-02-19
|
volumes:
|
||||||
|
- ${DATA_PATH}/log:/data/ghproxy/log
|
||||||
|
- ${DATA_PATH}/config:/data/ghproxy/config
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
|
|
||||||
Loading…
Reference in New Issue