From 02cf3546fb015b5a387c943e079ced58cb9f6819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 4 Jun 2026 17:13:20 +0800 Subject: [PATCH] update mysql 8.0.42 => 8.4.9 update nginx 1.23.4 => 1.31.1 update redis 7.2.8 => 8.6.3 update minio RELEASE.2026-04-17T00-00-00Z --- script/docker/docker-compose.yml | 10 ++++------ script/docker/nginx/conf/nginx.conf | 3 +-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/script/docker/docker-compose.yml b/script/docker/docker-compose.yml index af1df2823..2f3658001 100644 --- a/script/docker/docker-compose.yml +++ b/script/docker/docker-compose.yml @@ -1,6 +1,6 @@ services: mysql: - image: mysql:8.0.42 + image: mysql:8.4.9 container_name: mysql environment: # 时区上海 @@ -17,8 +17,6 @@ services: # 配置挂载 - /docker/mysql/conf/:/etc/mysql/conf.d/ command: - # 将mysql8.0默认密码策略 修改为 原先 策略 (mysql8.0对其默认策略做了更改 会导致密码无法匹配) - --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci --explicit_defaults_for_timestamp=true @@ -27,7 +25,7 @@ services: network_mode: "host" nginx-web: - image: nginx:1.23.4 + image: nginx:1.31.1 container_name: nginx-web environment: # 时区上海 @@ -48,7 +46,7 @@ services: network_mode: "host" redis: - image: redis:7.2.8 + image: redis:8.6.3 container_name: redis ports: - "6379:6379" @@ -66,7 +64,7 @@ services: minio: # pgsty 开源社区 fork 重新维护的最新版 minio - image: pgsty/minio:RELEASE.2026-02-14T12-00-00Z + image: pgsty/minio:RELEASE.2026-04-17T00-00-00Z container_name: minio ports: # api 端口 diff --git a/script/docker/nginx/conf/nginx.conf b/script/docker/nginx/conf/nginx.conf index 0a5cb7b43..871bf9ce0 100644 --- a/script/docker/nginx/conf/nginx.conf +++ b/script/docker/nginx/conf/nginx.conf @@ -57,12 +57,11 @@ http { #listen 443 ssl; # 证书直接存放 /docker/nginx/cert/ 目录下即可 更改证书名称即可 无需更改证书路径 - #ssl on; #ssl_certificate /etc/nginx/cert/xxx.local.crt; # /etc/nginx/cert/ 为docker映射路径 不允许更改 #ssl_certificate_key /etc/nginx/cert/xxx.local.key; # /etc/nginx/cert/ 为docker映射路径 不允许更改 #ssl_session_timeout 5m; #ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; - #ssl_protocols TLSv1.3 TLSv1.2 TLSv1.1 TLSv1; + #ssl_protocols TLSv1.3 TLSv1.2; #ssl_prefer_server_ciphers on; # https配置参考 end