diff --git a/README.md b/README.md index 20380c90..5db8fc21 100644 --- a/README.md +++ b/README.md @@ -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 | diff --git a/src/main/resources/application-docker.properties b/src/main/resources/application-docker.properties index 562ed5c5..fb9880e6 100644 --- a/src/main/resources/application-docker.properties +++ b/src/main/resources/application-docker.properties @@ -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} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 46b168b8..57b51b0d 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -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