From 6c098f218f7ed948001c46f1415394b6ed005dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=BC=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Sat, 16 Apr 2022 23:10:31 +0300 Subject: [PATCH] port variable --- docker-compose.yaml | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 14acbd3..64f3fd1 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,7 +15,7 @@ services: build: . restart: always ports: - - 8043:8043 + - 8045:8045 environment: - TZ=Europe/Moscow - MONGO_ADDR=mongodb \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index 6d90c49..47b6661 100644 --- a/src/main.ts +++ b/src/main.ts @@ -7,7 +7,7 @@ config(); const app = express(); -const port = process.env.PORT; +const port = process.env.RED_CODER_BH_PORT; app.get('/', (req, res) => { res.send('hello')