6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-13 14:43:03 +00:00

fix: Revert "Remove MONGOID_AUTH_MECH setting from forum Dockerfile."

This reverts commit 750bdca04d.

The MONGOID_AUTH_MECH environment variable is actually necessary and
required by the ruby gem. Thus, we should not remove it, but keep it to
its default value.

See: https://github.com/overhangio/tutor/pull/493#issuecomment-921758422
https://discuss.overhang.io/t/edx-forum-mongodb-authentication/927/18
This commit is contained in:
Régis Behmo 2021-09-17 16:49:29 +02:00
parent 922c8bb373
commit 22d42cea45
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,8 @@ Note: Breaking changes between versions are indicated by "💥".
## Unreleased
- [Bugfix] Fix forum starting issue: "NoMethodError: undefined method `encode' for nil:NilClass".
## v12.1.0 (2021-09-17)
- [Improvement] Make it easier to run edx-platform unit tests.

View File

@ -45,6 +45,7 @@ ENV NEW_RELIC_ENABLE false
ENV API_KEY forumapikey
ENV SEARCH_SERVER "http://elasticsearch:9200"
ENV MONGODB_AUTH ""
ENV MONGOID_AUTH_MECH ":scram"
ENV MONGODB_HOST "mongodb"
ENV MONGODB_PORT "27017"
ENV MONGODB_DATABASE "cs_comments_service"