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,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
|
||||
Loading…
Reference in New Issue