fix healthcheck
This commit is contained in:
parent
60fcf4b8b8
commit
8f245d2b0e
|
@ -110,7 +110,6 @@ services:
|
||||||
- shared
|
- shared
|
||||||
environment:
|
environment:
|
||||||
- PORTAL_URL=nginx
|
- PORTAL_URL=nginx
|
||||||
- HOSTNAME=health-check
|
|
||||||
expose:
|
expose:
|
||||||
- 3100
|
- 3100
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -9,7 +9,7 @@ const bodyparser = require("body-parser");
|
||||||
|
|
||||||
require("./schedule");
|
require("./schedule");
|
||||||
|
|
||||||
const host = process.env.HOSTNAME || "localhost";
|
const host = process.env.HOSTNAME || "0.0.0.0";
|
||||||
const port = process.env.PORT || 3100;
|
const port = process.env.PORT || 3100;
|
||||||
|
|
||||||
const server = express();
|
const server = express();
|
||||||
|
|
Reference in New Issue