diff --git a/Backend/config.py b/Backend/config.py index c80d2bf4..826cd611 100644 --- a/Backend/config.py +++ b/Backend/config.py @@ -3,10 +3,7 @@ DATAFORMAT_PATH = f'{os.getcwd()}/Data/sc1-data-format/format.json' HOST_PORT = 4001 -# Check if system is running in a docker container -DOCKER = os.environ.get('DOCKER', False) - -REDIS_URL = 'redis-stack-server' if DOCKER else '127.0.0.1' +REDIS_URL = '127.0.0.1' REDIS_PORT = 6379 REDIS_DB = 0 diff --git a/Dockerfile b/Dockerfile index 5bff9247..60485853 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,5 +2,4 @@ FROM nikolaik/python-nodejs:python3.10-nodejs16 WORKDIR /chase-car-dashboard COPY . . RUN npm install -ENV DOCKER Yes CMD ["npm", "start"]