mirror of
https://github.com/BgaSol/sol-cloud
synced 2026-04-21 17:17:16 +00:00
build(docker): 更新 Redis 版本并调整 Seata 配置
- 将 Redis 版本从 6.2.16 升级到 7.4.2 - 调整 Seata 容器的 IP配置注释 - 移除 Seata 容器的 command 属性
This commit is contained in:
parent
5f627eef67
commit
93c1f67a24
3 changed files with 4 additions and 7 deletions
|
|
@ -89,7 +89,7 @@ services:
|
|||
- cloud-app
|
||||
# Redis 服务
|
||||
cloud-app-redis:
|
||||
image: redis:6.2.16
|
||||
image: redis:7.4.2
|
||||
container_name: cloud-app-redis
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
|
|
@ -113,7 +113,7 @@ services:
|
|||
- "8091:8091"
|
||||
- "7091:7091"
|
||||
environment:
|
||||
SEATA_IP: 192.168.1.7
|
||||
SEATA_IP: 192.168.1.7 # 请根据实际情况修改 IP 地址,注意不要使用 localhost 或 127.0.0.1
|
||||
SEATA_SERVER_PORT: 7091
|
||||
SEATA_SERVER_NAME: cloud-app-seata
|
||||
SEATA_NACOS_HOST: cloud-app-nacos
|
||||
|
|
@ -128,9 +128,6 @@ services:
|
|||
SEATA_SECRET_KEY: ${SEATA_SECRET_KEY}
|
||||
SEATA_USER: ${SEATA_USER}
|
||||
SEATA_PASSWORD: ${SEATA_PASSWORD}
|
||||
command:
|
||||
- /bin/bash
|
||||
- /seata-server-entrypoint.sh -h $$SEATA_IP
|
||||
volumes:
|
||||
- ./config/seata/resources/application.yml:/seata-server/resources/application.yml
|
||||
networks:
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ services:
|
|||
- cloud-app
|
||||
# Redis
|
||||
cloud-app-redis:
|
||||
image: redis:6.2.16
|
||||
image: redis:7.4.2
|
||||
container_name: cloud-app-redis
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
- Sa-Token 1.39.0
|
||||
- Nacos 2.5.0
|
||||
- PostgreSQL 17.2
|
||||
- Redis 6.2.16
|
||||
- Redis 7.4.2
|
||||
- MinIO RELEASE.2024-11-07T00-52-20Z
|
||||
- Seata 1.8.0.2
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue