chore(部署): PostgreSQL 升到 18、Redis 升到 8,附生产库升级步骤
线上的库和服务器的 Redis 不归这几份 compose 管,要按 docs/deploy.md「PostgreSQL 升级」 在服务器上手工换;机房的 Redis 随下次部署换成 8。 本机拿 10-13 的生产备份演练过:恢复后生产库口令是 md5 哈希,18 只认 SCRAM, 不重新存一遍口令的话 api 和机房从网络连都会 password authentication failed。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a085351a2f
commit
67590597f1
5 files changed
+77
-14
No files matched your search
@@ -17,7 +17,7 @@
|
||||
|
||||
services:
|
||||
oj-redis:
|
||||
image: redis:7-alpine
|
||||
image: redis:8-alpine
|
||||
container_name: oj-redis
|
||||
restart: always
|
||||
volumes:
|
||||
|
||||
Reference in new issue
Block a user