port variable
This commit is contained in:
parent
84b7c983d9
commit
6c098f218f
@ -15,7 +15,7 @@ services:
|
|||||||
build: .
|
build: .
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8043:8043
|
- 8045:8045
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Moscow
|
- TZ=Europe/Moscow
|
||||||
- MONGO_ADDR=mongodb
|
- MONGO_ADDR=mongodb
|
@ -7,7 +7,7 @@ config();
|
|||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
const port = process.env.PORT;
|
const port = process.env.RED_CODER_BH_PORT;
|
||||||
|
|
||||||
app.get('/', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
res.send('hello')
|
res.send('hello')
|
||||||
|
Loading…
Reference in New Issue
Block a user