feat: update gpt4free 0.6.4.3

This commit is contained in:
arch3rPro
2025-10-20 05:31:05 +08:00
parent a591bf53ec
commit fcd9a1b254
5 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
additionalProperties:
formFields:
- default: 8080
envKey: PANEL_APP_PORT_HTTP
labelEn: Web Interface Port
labelZh: Web界面端口
label:
en: Web Interface Port
zh: Web界面端口
zh-Hant: Web界面埠
required: true
rule: paramPort
type: number
- default: 1337
envKey: PANEL_APP_PORT_API
labelEn: API Port
labelZh: API接口端口
label:
en: API Port
zh: API接口端口
zh-Hant: API接口埠
required: true
rule: paramPort
type: number
- default: 7900
envKey: PANEL_APP_PORT_REMOTE
labelEn: Remote Desktop Port
labelZh: 远程桌面端口
label:
en: Remote Desktop Port
zh: 远程桌面端口
zh-Hant: 遠程桌面埠
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,22 @@
services:
gpt4free:
image: hlohaus789/g4f:0.6.4.3
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
shm_size: 2gb
volumes:
- ./har_and_cookies:/app/har_and_cookies
- ./generated_media:/app/generated_media
ports:
- ${PANEL_APP_PORT_HTTP}:8080
- ${PANEL_APP_PORT_API}:8080
- ${PANEL_APP_PORT_REMOTE}:7900
environment:
- OLLAMA_HOST=host.docker.internal
labels:
createdBy: Apps
networks:
1panel-network:
external: true

View File

@@ -0,0 +1,4 @@
#!/bin/bash
chown -R 1200:1201 har_and_cookies
chown -R 1200:1201 generated_media