diff --git a/docker-compose.yml b/docker-compose.yml index 1ce9002a..a5c60631 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -110,7 +110,6 @@ services: - shared environment: - PORTAL_URL=nginx - - HOSTNAME=health-check expose: - 3100 depends_on: diff --git a/health-check/index.js b/health-check/index.js index 18d2ad79..c34d3770 100644 --- a/health-check/index.js +++ b/health-check/index.js @@ -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();