chore: 更新多个应用的docker-compose镜像版本

- 将affine从0.25.5升级到0.25.7
- 将dify的api和web组件从1.10.1升级到1.11.0
- 将new-api从v0.9.28升级到v0.10.0并清理注释
This commit is contained in:
arch3rPro
2025-12-12 01:51:01 +08:00
parent 250b9acff6
commit 797dd48cd7
3 changed files with 14 additions and 20 deletions

View File

@@ -24,7 +24,7 @@ services:
labels:
createdBy: Apps
affine_migration:
image: ghcr.io/toeverything/affine:0.25.5
image: ghcr.io/toeverything/affine:0.25.7
container_name: ${CONTAINER_NAME}_migration_job
volumes:
- ${UPLOAD_LOCATION}:/root/.affine/storage

View File

@@ -1041,7 +1041,7 @@ services:
- ssrf_proxy_network
- default
worker:
image: langgenius/dify-api:1.10.1
image: langgenius/dify-api:1.11.0
env_file:
- dify.env
restart: always
@@ -1570,7 +1570,7 @@ services:
- ssrf_proxy_network
- default
web:
image: langgenius/dify-web:1.10.1
image: langgenius/dify-web:1.11.0
container_name: ${CONTAINER_NAME}
env_file:
- dify.env

View File

@@ -1,6 +1,6 @@
services:
new-api:
image: calciumion/new-api:v0.9.28
image: calciumion/new-api:v0.10.0
container_name: ${CONTAINER_NAME}
restart: always
ports:
@@ -12,26 +12,23 @@ services:
- ./data:/data
- ./logs:/app/logs
environment:
- SQL_DSN=root:${PANEL_DB_ROOT_PASSWORD}@tcp(${CONTAINER_NAME}-mysql:3306)/${PANEL_DB_NAME} # 修改此行,或注释掉以使用 SQLite 作为数据库
- 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 # 是否启用错误日志记录
# - STREAMING_TIMEOUT=120 # 流模式无响应超时时间单位秒默认120秒如果出现空补全可以尝试改为更大值
# - SESSION_SECRET=random_string # 多机部署时设置,必须修改这个随机字符串!!!!!!!
# - NODE_TYPE=slave # Uncomment for slave node in multi-node deployment
# - SYNC_FREQUENCY=60 # Uncomment if regular database syncing is needed
# - FRONTEND_BASE_URL=https://openai.justsong.cn # Uncomment for multi-node deployment with front-end URL
- ERROR_LOG_ENABLED=true
depends_on:
- redis
- mysql
healthcheck:
test: ["CMD-SHELL", "wget -q -O - http://localhost:3000/api/status | grep -o '\"success\":\\s*true' | awk -F: '{print $$2}'"]
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"
createdBy: Apps
mysql:
image: mysql:8.2
container_name: ${CONTAINER_NAME}-mysql
@@ -39,21 +36,18 @@ services:
volumes:
- mysql_data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=${PANEL_DB_ROOT_PASSWORD} # MySQL root用户密码
- MYSQL_DATABASE=${PANEL_DB_NAME} # 创建的数据库名
- MYSQL_ROOT_PASSWORD=${PANEL_DB_ROOT_PASSWORD}
- MYSQL_DATABASE=${PANEL_DB_NAME}
networks:
- 1panel-network
redis:
image: redis:latest
container_name: ${CONTAINER_NAME}-redis
restart: always
networks:
- 1panel-network
volumes:
mysql_data:
mysql_data: null
networks:
1panel-network:
external: true