fix: fix gpt4free version

This commit is contained in:
arch3rPro
2025-09-02 00:01:05 +08:00
parent 4fea030da1
commit 620711f6b3
6 changed files with 18 additions and 5 deletions

View File

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

View File

@@ -21,4 +21,15 @@ additionalProperties:
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

@@ -1,16 +1,18 @@
services:
gpt4free:
image: hlohaus789/g4f:0.6.1.4-slim
image: hlohaus789/g4f:0.6.1.6
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:

View File

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