mirror of
https://github.com/dedicatedcode/reitti.git
synced 2026-01-07 00:23:52 -05:00
feat(627): support setting Redis cache key prefix via environment var… (#632)
This commit is contained in:
@@ -211,6 +211,7 @@ The included `docker-compose.yml` provides a complete setup with:
|
||||
| `REDIS_USERNAME` | Redis username (optional) | | username |
|
||||
| `REDIS_PASSWORD` | Redis password (optional) | | password |
|
||||
| `REDIS_DATABASE` | Redis database to use (optional) | 0 | 1 |
|
||||
| `REDIS_CACHE_PREFIX` | Redis cache key prefix (optional) | | reitti_cache: |
|
||||
| `ADVERTISE_URI` | Routable URL of the instance. Used for federation of multiple instances. (optional) | | https://reitti.lab |
|
||||
| `DISABLE_LOCAL_LOGIN` | Whether to disable the local login form (username/password) This only works, if OIDC login is configured. | false | true |
|
||||
| `OIDC_ENABLED` | Whether to enable OIDC sign-ins | false | true |
|
||||
|
||||
@@ -18,6 +18,7 @@ spring.data.redis.port=${REDIS_PORT:6379}
|
||||
spring.data.redis.username=${REDIS_USERNAME:}
|
||||
spring.data.redis.password=${REDIS_PASSWORD:}
|
||||
spring.data.redis.database=${REDIS_DATABASE:0}
|
||||
spring.cache.redis.keyPrefix=${REDIS_CACHE_PREFIX:}
|
||||
|
||||
reitti.security.local-login.disable=${DISABLE_LOCAL_LOGIN:false}
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ spring.data.redis.port=6379
|
||||
spring.data.redis.username=
|
||||
spring.data.redis.password=
|
||||
spring.data.redis.database=0
|
||||
spring.cache.redis.keyPrefix=
|
||||
|
||||
# RabbitMQ Configuration
|
||||
spring.rabbitmq.host=localhost
|
||||
|
||||
Reference in New Issue
Block a user