feat: update gpt4free 6.8.5-slim

This commit is contained in:
arch3rPro
2026-01-10 05:31:08 +08:00
parent f92d709428
commit e8c863a801
6 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
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

View File

@@ -0,0 +1,20 @@
services:
gpt4free:
image: hlohaus789/g4f:v6.8.5-slim
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
volumes:
- ./har_and_cookies:/app/har_and_cookies
- ./generated_media:/app/generated_media
ports:
- ${PANEL_APP_PORT_HTTP}:8080
- ${PANEL_APP_PORT_API}:8080
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