From 551e39924fab7676b245cc8fde5c4b255992ffb5 Mon Sep 17 00:00:00 2001 From: Tedd Mason Date: Thu, 10 Oct 2024 10:24:16 +0100 Subject: [PATCH] returning default port to 8000 for azure --- README.md | 2 +- server/utils/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 56db08f..70e42a3 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ The build of the webapp requires an environment variable GA_ID if google analyti | name | description | mandatory | default value | |---------|-------------|-----------| ------------- | | NODE_ENV | Environment, eg development, test, production | N | development | -| SERVICE_PORT | Port for sevice to run on eg 3000 | N | 3000 | +| SERVICE_PORT | Port for sevice to run on eg 8000 | N | 8000 | | LOG_LEVEL | Log level eg info, warn, error | N | warn | | REDIS_HOST | Redis host name | Y | | | REDIS_PORT | Redis port name | N | 6379 | diff --git a/server/utils/config.js b/server/utils/config.js index 781eb8e..46ce187 100644 --- a/server/utils/config.js +++ b/server/utils/config.js @@ -1,6 +1,6 @@ import Joi from 'joi' const envs = ['development', 'test', 'production'] -const defaultPort = 3000 +const defaultPort = 8000 const defaultRedisPort = 6379 const getBoolean = booleanString =>