1
0

精简提交历史记录

This commit is contained in:
okxlin
2023-11-09 19:15:01 +08:00
commit 691aa7aac9
1529 changed files with 800341 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
CONTAINER_NAME="wgcf-socks5-proxy"
PANEL_APP_PORT_HTTP="40055"
DATA_PATH="./data"
IP_COMMAND=""
SOCKS_USER=""
SOCKS_PWD=""
SOCKS_PORT="1080"
SOCKS_HOST="0.0.0.0"

View File

@@ -0,0 +1,54 @@
additionalProperties:
formFields:
- default: 40055
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ""
edit: true
envKey: IP_COMMAND
labelEn: IPV4/IPV6 ONLY (FILL IN "-4"; "-6")
labelZh: 仅IPV4/IPV6(填"-4";"-6")
required: false
type: text
- default: ""
edit: true
envKey: SOCKS_USER
labelEn: Socks user
labelZh: Socks用户名
required: false
type: text
- default: ""
edit: true
envKey: SOCKS_PWD
labelEn: Socks password
labelZh: Socks密码
random: false
required: false
rule: paramComplexity
type: password
- default: "1080"
edit: true
envKey: SOCKS_PORT
labelEn: Internal Socks port
labelZh: 内部Socks端口
required: true
type: text
- default: "0.0.0.0"
edit: true
envKey: SOCKS_HOST
labelEn: Internal Socks host
labelZh: 内部Socks主机
required: true
type: text

View File

@@ -0,0 +1,30 @@
version: '3'
services:
wgcfd:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${SOCKS_PORT}"
volumes:
- "${DATA_PATH}:/wgcf"
- /lib/modules:/lib/modules
environment:
- USER=${SOCKS_USER}
- PASSWORD=${SOCKS_PWD}
- PORT=${SOCKS_PORT}
- HOST=${SOCKS_HOST}
privileged: true
cap_add:
- net_admin
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
command: ${IP_COMMAND}
image: activeliang/wgcf-socks5-proxy:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true