From fdca60d6e63d347afd2bb289af4f10dbeeb5d796 Mon Sep 17 00:00:00 2001 From: Ivan Gagarinov Date: Thu, 12 Sep 2024 20:21:06 +0500 Subject: [PATCH] Revert "update port" This reverts commit 857345cf557da0c22327d1730a7cff65c485187f. --- README.md | 2 +- docker-compose.yml | 4 ++-- server/bin/index.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 399b3c3..1428bb5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ See [Makefile](./Makefile) ```bash make setup -make start # Open http://localhost:5037/swagger +make start # Open http://localhost:5000/swagger ``` --- diff --git a/docker-compose.yml b/docker-compose.yml index dedf5f5..dbaf6ae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,8 +3,8 @@ services: build: context: . ports: - - '5037:5037' + - '4010:4010' environment: - PORT: 5037 + PORT: 4010 volumes: - ./:/app diff --git a/server/bin/index.js b/server/bin/index.js index 4c85e4b..7723e20 100644 --- a/server/bin/index.js +++ b/server/bin/index.js @@ -2,7 +2,7 @@ import app from '../index.js'; -const port = process.env.PORT || 5037; +const port = process.env.PORT || 5000; const host = process.env.host || '0.0.0.0'; console.log('Port: ', port);