diff --git a/README.md b/README.md index 605aacf..fa503c7 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,12 @@ Django Backend * Start both middleware AND frontend dev server simultaneously * See README of subfolder for further information +## Local testing +Add to hostsfile: +`127.0.0.1 rdg +127.0.0.1 mongodb +127.0.0.1 redis` + ## Deploy Kubernetes Admin Dashboard diff --git a/components/event_store/event_store_server.py b/components/event_store/event_store_server.py index 1c815db..2832f3a 100644 --- a/components/event_store/event_store_server.py +++ b/components/event_store/event_store_server.py @@ -10,7 +10,7 @@ from flask_redis import Redis # see https://github.com/andymccurdy/redis-py app = Flask(__name__) -app.config["REDIS_HOST"] = "localhost" +app.config["REDIS_HOST"] = "redis" app.config["REDIS_PORT"] = 6379 redis = Redis(app)