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
+1 -1
View File
@@ -24,7 +24,7 @@ services:
labels: labels:
createdBy: Apps createdBy: Apps
affine_migration: affine_migration:
image: ghcr.io/toeverything/affine:0.25.5 image: ghcr.io/toeverything/affine:0.25.7
container_name: ${CONTAINER_NAME}_migration_job container_name: ${CONTAINER_NAME}_migration_job
volumes: volumes:
- ${UPLOAD_LOCATION}:/root/.affine/storage - ${UPLOAD_LOCATION}:/root/.affine/storage
+2 -2
View File
@@ -1041,7 +1041,7 @@ services:
- ssrf_proxy_network - ssrf_proxy_network
- default - default
worker: worker:
image: langgenius/dify-api:1.10.1 image: langgenius/dify-api:1.11.0
env_file: env_file:
- dify.env - dify.env
restart: always restart: always
@@ -1570,7 +1570,7 @@ services:
- ssrf_proxy_network - ssrf_proxy_network
- default - default
web: web:
image: langgenius/dify-web:1.10.1 image: langgenius/dify-web:1.11.0
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
env_file: env_file:
- dify.env - dify.env
+11 -17
View File
@@ -1,6 +1,6 @@
services: services:
new-api: new-api:
image: calciumion/new-api:v0.9.28 image: calciumion/new-api:v0.10.0
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
restart: always restart: always
ports: ports:
@@ -12,26 +12,23 @@ services:
- ./data:/data - ./data:/data
- ./logs:/app/logs - ./logs:/app/logs
environment: 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 - TZ=Asia/Shanghai
- REDIS_CONN_STRING=redis://${CONTAINER_NAME}-redis - REDIS_CONN_STRING=redis://${CONTAINER_NAME}-redis
- ERROR_LOG_ENABLED=true # 是否启用错误日志记录 - 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
depends_on: depends_on:
- redis - redis
- mysql - mysql
healthcheck: 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 interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
labels: labels:
createdBy: "Apps" createdBy: Apps
mysql: mysql:
image: mysql:8.2 image: mysql:8.2
container_name: ${CONTAINER_NAME}-mysql container_name: ${CONTAINER_NAME}-mysql
@@ -39,21 +36,18 @@ services:
volumes: volumes:
- mysql_data:/var/lib/mysql - mysql_data:/var/lib/mysql
environment: environment:
- MYSQL_ROOT_PASSWORD=${PANEL_DB_ROOT_PASSWORD} # MySQL root用户密码 - MYSQL_ROOT_PASSWORD=${PANEL_DB_ROOT_PASSWORD}
- MYSQL_DATABASE=${PANEL_DB_NAME} # 创建的数据库名 - MYSQL_DATABASE=${PANEL_DB_NAME}
networks: networks:
- 1panel-network - 1panel-network
redis: redis:
image: redis:latest image: redis:latest
container_name: ${CONTAINER_NAME}-redis container_name: ${CONTAINER_NAME}-redis
restart: always restart: always
networks: networks:
- 1panel-network - 1panel-network
volumes: volumes:
mysql_data: mysql_data: null
networks: networks:
1panel-network: 1panel-network:
external: true external: true