Browse Source
Merge pull request #10966 from pon0marev/redis-compatibility-note
Redis compatibility note
pull/11399/head
Andrew Shvayka
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
5 additions and
1 deletions
-
application/src/main/resources/thingsboard.yml
-
docker/docker-compose.redis-cluster.yml
-
docker/docker-compose.redis-sentinel.yml
-
docker/docker-compose.redis.yml
-
msa/black-box-tests/src/test/resources/docker-compose.redis-ssl.yml
|
|
@ -490,7 +490,7 @@ actors: |
|
|
|
|
|
|
|
|
# Cache settings parameters |
|
|
# Cache settings parameters |
|
|
cache: |
|
|
cache: |
|
|
# caffeine or redis |
|
|
# caffeine or redis(7.2 - latest compatible version) |
|
|
type: "${CACHE_TYPE:caffeine}" |
|
|
type: "${CACHE_TYPE:caffeine}" |
|
|
maximumPoolSize: "${CACHE_MAXIMUM_POOL_SIZE:16}" # max pool size to process futures that call the external cache |
|
|
maximumPoolSize: "${CACHE_MAXIMUM_POOL_SIZE:16}" # max pool size to process futures that call the external cache |
|
|
attributes: |
|
|
attributes: |
|
|
|
|
|
@ -18,6 +18,7 @@ version: '3.0' |
|
|
|
|
|
|
|
|
services: |
|
|
services: |
|
|
# Redis cluster |
|
|
# Redis cluster |
|
|
|
|
|
# The latest version of Redis compatible with ThingsBoard is 7.2 |
|
|
redis-node-0: |
|
|
redis-node-0: |
|
|
image: bitnami/redis-cluster:7.2 |
|
|
image: bitnami/redis-cluster:7.2 |
|
|
volumes: |
|
|
volumes: |
|
|
|
|
|
@ -18,6 +18,7 @@ version: '3.0' |
|
|
|
|
|
|
|
|
services: |
|
|
services: |
|
|
# Redis sentinel |
|
|
# Redis sentinel |
|
|
|
|
|
# The latest version of Redis compatible with ThingsBoard is 7.2 |
|
|
redis-master: |
|
|
redis-master: |
|
|
image: 'bitnami/redis:7.2' |
|
|
image: 'bitnami/redis:7.2' |
|
|
volumes: |
|
|
volumes: |
|
|
|
|
|
@ -18,6 +18,7 @@ version: '3.0' |
|
|
|
|
|
|
|
|
services: |
|
|
services: |
|
|
# Redis standalone |
|
|
# Redis standalone |
|
|
|
|
|
# The latest version of Redis compatible with ThingsBoard is 7.2 |
|
|
redis: |
|
|
redis: |
|
|
restart: always |
|
|
restart: always |
|
|
image: bitnami/redis:7.2 |
|
|
image: bitnami/redis:7.2 |
|
|
|
|
|
@ -18,6 +18,7 @@ version: '3.0' |
|
|
|
|
|
|
|
|
services: |
|
|
services: |
|
|
# Redis standalone |
|
|
# Redis standalone |
|
|
|
|
|
# The latest version of Redis compatible with ThingsBoard is 7.2 |
|
|
redis: |
|
|
redis: |
|
|
restart: always |
|
|
restart: always |
|
|
image: bitnami/redis:7.2 |
|
|
image: bitnami/redis:7.2 |
|
|
|