fix(config): Add Nacos authentication and Redis Sentinel persistence

This commit is contained in:
2026-03-12 21:04:11 +08:00
parent fbc5c55dfe
commit dd0690e031
10 changed files with 120 additions and 34 deletions
+4 -2
View File
@@ -64,8 +64,9 @@ services:
ports:
- "26379:26379"
volumes:
- ./config/redis/sentinel.conf:/usr/local/etc/redis/sentinel.conf:ro
command: redis-sentinel /usr/local/etc/redis/sentinel.conf
- sentinel_data:/data
- ./config/redis/sentinel.conf:/usr/local/etc/redis/sentinel.conf
command: sh -c "cp /usr/local/etc/redis/sentinel.conf /data/sentinel.conf && redis-sentinel /data/sentinel.conf"
depends_on:
redis:
condition: service_healthy
@@ -193,6 +194,7 @@ networks:
volumes:
mysql_data:
redis_data:
sentinel_data:
nacos_logs:
rmqbroker_logs:
rmqbroker_store: