mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-18 19:07:13 +08:00
fix: fix gpt4free version
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
chown -R 1000:1000 har_and_cookies
|
||||
chown -R 1000:1000 generated_media
|
||||
@@ -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
|
||||
@@ -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:
|
||||
4
apps/gpt4free/0.6.1.6/scripts/init.sh
Normal file
4
apps/gpt4free/0.6.1.6/scripts/init.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
chown -R 1200:1201 har_and_cookies
|
||||
chown -R 1200:1201 generated_media
|
||||
Reference in New Issue
Block a user