fix healthcheck

This commit is contained in:
Karol Wypchlo 2020-07-27 19:03:05 +02:00
parent 60fcf4b8b8
commit 8f245d2b0e
2 changed files with 1 additions and 2 deletions

View File

@ -110,7 +110,6 @@ services:
- shared
environment:
- PORTAL_URL=nginx
- HOSTNAME=health-check
expose:
- 3100
depends_on:

View File

@ -9,7 +9,7 @@ const bodyparser = require("body-parser");
require("./schedule");
const host = process.env.HOSTNAME || "localhost";
const host = process.env.HOSTNAME || "0.0.0.0";
const port = process.env.PORT || 3100;
const server = express();