This commit is contained in:
Marco Zeisler 2021-05-27 20:12:16 +02:00
parent 51663b7583
commit f8d07d9bdf
2 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,12 @@ Django Backend
* Start both middleware AND frontend dev server simultaneously * Start both middleware AND frontend dev server simultaneously
* See README of subfolder for further information * 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 ## Deploy Kubernetes Admin Dashboard

View File

@ -10,7 +10,7 @@ from flask_redis import Redis
# see https://github.com/andymccurdy/redis-py # see https://github.com/andymccurdy/redis-py
app = Flask(__name__) app = Flask(__name__)
app.config["REDIS_HOST"] = "localhost" app.config["REDIS_HOST"] = "redis"
app.config["REDIS_PORT"] = 6379 app.config["REDIS_PORT"] = 6379
redis = Redis(app) redis = Redis(app)