[redis] update redis tls

This commit is contained in:
kjg 2023-10-02 16:16:26 +00:00
parent 2e1fbc0365
commit 499eb9eebc
7 changed files with 54749 additions and 12 deletions

View file

@ -14,9 +14,9 @@ services:
volumes:
- ./redis-master.conf:/etc/redis.conf
- ./masterdata:/data
- ./cert/san.crt:/etc/certificate.crt
- ./cert/private.key:/etc/certificate.key
- ./cert/CA-cert.pem:/etc/chain.crt
- ./cert/certificate.crt:/etc/certificate.crt
- ./cert/certificate.key:/etc/certificate.key
- ./cert/CA-cert.pem:/etc/CA-cert.pem
restart: always
redis-slave:
container_name: "redis-slave"
@ -28,7 +28,7 @@ services:
- ./slavedata:/data
- ./cert/san.crt:/etc/certificate.crt
- ./cert/private.key:/etc/certificate.key
- ./cert/CA-cert.pem:/etc/chain.crt
- ./cert/CA-cert.pem:/etc/CA-cert.pem
restart: always
depends_on:
- redis-master

View file

@ -10,11 +10,11 @@ ClusterServerPool {
ServerRetryTimeout 1
KeepAlive 120
Servers {
+ redis-node1.ungleich.cloud:7001
+ redis-node2.ungleich.cloud:7001
+ redis-node3.ungleich.cloud:7001
+ redis-node1.ungleich.cloud:7101
+ redis-node2.ungleich.cloud:7101
+ redis-node3.ungleich.cloud:7101
+ redis-node1.ungleich.cloud:6379
+ redis-node2.ungleich.cloud:6379
+ redis-node3.ungleich.cloud:6379
+ redis-node1.ungleich.cloud:6479
+ redis-node2.ungleich.cloud:6479
+ redis-node3.ungleich.cloud:6479
}
}

File diff suppressed because it is too large Load diff

View file

@ -10,4 +10,4 @@ port 0
tls-port 6379
tls-cert-file /etc/certificate.crt
tls-key-file /etc/certificate.key
tls-ca-cert-file /etc/chain.crt
tls-ca-cert-file /etc/CA-cert.pem

View file

@ -10,4 +10,4 @@ port 0
tls-port 6479
tls-cert-file /etc/certificate.crt
tls-key-file /etc/certificate.key
tls-ca-cert-file /etc/chain.crt
tls-ca-cert-file /etc/CA-cert.pem