From 21315776e9498f67551d6dedf60d91be40dd8d6b Mon Sep 17 00:00:00 2001 From: davwas Date: Wed, 17 Apr 2024 12:02:18 +0200 Subject: [PATCH] remove readPreference --- compose-files/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose-files/docker-compose.yml b/compose-files/docker-compose.yml index f623e68..f1452bd 100644 --- a/compose-files/docker-compose.yml +++ b/compose-files/docker-compose.yml @@ -146,7 +146,7 @@ services: - CLAMAV__SERVICE_HOSTNAME=localhost - CLAMAV__SERVICE_PORT=3310 # URIs and Port - - DB_URL=mongodb://mongodb-primary:27017,mongodb-secondary:27017,mongodb-arbiter:27017/schulcloud?replicaSet=rs0&tls=false&readPreference=secondary + - DB_URL=mongodb://mongodb-primary:27017,mongodb-secondary:27017,mongodb-arbiter:27017/schulcloud?replicaSet=rs0&tls=false - REDIS_URI=redis://redis:6379 - RABBITMQ_URI=amqp://guest:guest@rabbit:5672 - CONTENT_URI=https://consent.schul-cloud.org #lernstore @@ -206,7 +206,7 @@ services: - FILES_STORAGE__S3_BUCKET=schulcloud - FILES_STORAGE__S3_REGION=eu-central-1 # URIs and Port - - DB_URL=mongodb://mongodb-primary:27017,mongodb-secondary:27017,mongodb-arbiter:27017/schulcloud?replicaSet=rs0&tls=false&readPreference=secondary + - DB_URL=mongodb://mongodb-primary:27017,mongodb-secondary:27017,mongodb-arbiter:27017/schulcloud?replicaSet=rs0&tls=false - REDIS_URI=redis://redis:6379 - RABBITMQ_URI=amqp://guest:guest@rabbit:5672 - CONTENT_URI=https://consent.schul-cloud.org #lernstore