mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-06 16:22:11 +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接口埠
|
zh-Hant: API接口埠
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
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
|
type: number
|
||||||
+3
-1
@@ -1,16 +1,18 @@
|
|||||||
services:
|
services:
|
||||||
gpt4free:
|
gpt4free:
|
||||||
image: hlohaus789/g4f:0.6.1.4-slim
|
image: hlohaus789/g4f:0.6.1.6
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
|
shm_size: 2gb
|
||||||
volumes:
|
volumes:
|
||||||
- ./har_and_cookies:/app/har_and_cookies
|
- ./har_and_cookies:/app/har_and_cookies
|
||||||
- ./generated_media:/app/generated_media
|
- ./generated_media:/app/generated_media
|
||||||
ports:
|
ports:
|
||||||
- ${PANEL_APP_PORT_HTTP}:8080
|
- ${PANEL_APP_PORT_HTTP}:8080
|
||||||
- ${PANEL_APP_PORT_API}:8080
|
- ${PANEL_APP_PORT_API}:8080
|
||||||
|
- ${PANEL_APP_PORT_REMOTE}:7900
|
||||||
environment:
|
environment:
|
||||||
- OLLAMA_HOST=host.docker.internal
|
- OLLAMA_HOST=host.docker.internal
|
||||||
labels:
|
labels:
|
||||||
@@ -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