[redis] update redis-tls
This commit is contained in:
parent
b25b77ee01
commit
2e1fbc0365
10 changed files with 300 additions and 0 deletions
34
redis-tls/docker-compose.yaml
Normal file
34
redis-tls/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
version: '3'
|
||||
services:
|
||||
predixy:
|
||||
image: haandol/predixy:latest
|
||||
container_name: predixy
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- ./predixy/conf:/etc/predixy/conf
|
||||
redis-master:
|
||||
container_name: "redis-master"
|
||||
image: redis:7.2-alpine
|
||||
network_mode: "host"
|
||||
command: redis-server /etc/redis.conf
|
||||
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
|
||||
restart: always
|
||||
redis-slave:
|
||||
container_name: "redis-slave"
|
||||
image: redis:7.2-alpine
|
||||
network_mode: "host"
|
||||
command: redis-server /etc/redis.conf
|
||||
volumes:
|
||||
- ./redis-slave.conf:/etc/redis.conf
|
||||
- ./slavedata:/data
|
||||
- ./cert/san.crt:/etc/certificate.crt
|
||||
- ./cert/private.key:/etc/certificate.key
|
||||
- ./cert/CA-cert.pem:/etc/chain.crt
|
||||
restart: always
|
||||
depends_on:
|
||||
- redis-master
|
||||
Loading…
Add table
Add a link
Reference in a new issue