mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-14 16:07:13 +08:00
Compare commits
3 Commits
3b588132b0
...
6245215f1a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6245215f1a | ||
|
|
dbab970700 | ||
|
|
09b7c4c20c |
@@ -515,7 +515,7 @@ AI驱动的开源代码知识库与文档协作平台,支持多模型、多数
|
||||
|
||||
🍥 新一代大模型网关与AI资产管理系统,支持多种模型统一调用
|
||||
|
||||
<kbd>0.11.7</kbd> • [官网链接](https://docs.newapi.pro/)
|
||||
<kbd>0.11.8</kbd> • [官网链接](https://docs.newapi.pro/)
|
||||
|
||||
</td>
|
||||
<td width="33%" align="center">
|
||||
|
||||
@@ -1570,7 +1570,7 @@ services:
|
||||
- ssrf_proxy_network
|
||||
- default
|
||||
web:
|
||||
image: langgenius/dify-web:1.13.0
|
||||
image: langgenius/dify-web:1.13.2
|
||||
container_name: ${CONTAINER_NAME}
|
||||
env_file:
|
||||
- dify.env
|
||||
|
||||
28
apps/new-api/0.11.8-allinone/data.yml
Normal file
28
apps/new-api/0.11.8-allinone/data.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: newapi
|
||||
edit: true
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: newapi
|
||||
edit: true
|
||||
envKey: PANEL_DB_ROOT_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: 3000
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
67
apps/new-api/0.11.8-allinone/docker-compose.yml
Normal file
67
apps/new-api/0.11.8-allinone/docker-compose.yml
Normal file
@@ -0,0 +1,67 @@
|
||||
services:
|
||||
new-api:
|
||||
image: calciumion/new-api:v0.11.8
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:3000
|
||||
networks:
|
||||
- 1panel-network
|
||||
command: --log-dir /app/logs
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./logs:/app/logs
|
||||
environment:
|
||||
- SQL_DSN=root:${PANEL_DB_ROOT_PASSWORD}@tcp(${CONTAINER_NAME}-mysql:3306)/${PANEL_DB_NAME}
|
||||
- TZ=Asia/Shanghai
|
||||
- REDIS_CONN_STRING=redis://${CONTAINER_NAME}-redis
|
||||
- ERROR_LOG_ENABLED=true
|
||||
- BATCH_UPDATE_ENABLED=true
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_started
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- 'wget -q -O - http://localhost:3000/api/status | grep -o ''"success":\s*true''
|
||||
| awk -F: ''{print $$2}'''
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
mysql:
|
||||
image: mysql:8.2
|
||||
container_name: ${CONTAINER_NAME}-mysql
|
||||
restart: always
|
||||
volumes:
|
||||
- mysql_data:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${PANEL_DB_ROOT_PASSWORD}
|
||||
- MYSQL_DATABASE=${PANEL_DB_NAME}
|
||||
networks:
|
||||
- 1panel-network
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- mysqladmin
|
||||
- ping
|
||||
- -h
|
||||
- localhost
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 30s
|
||||
redis:
|
||||
image: redis:latest
|
||||
container_name: ${CONTAINER_NAME}-redis
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
volumes:
|
||||
mysql_data: null
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
new-api:
|
||||
image: calciumion/new-api:v0.11.7
|
||||
image: calciumion/new-api:v0.11.8
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
ports:
|
||||
Reference in New Issue
Block a user