From 5e3175c03fdf3823c21e4f06d32b08e8f0d82ac6 Mon Sep 17 00:00:00 2001 From: Expand-sys Date: Thu, 24 Jun 2021 12:36:41 +1000 Subject: [PATCH] fix for docker compat --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0616706..fbc0c26 100644 --- a/index.js +++ b/index.js @@ -356,7 +356,7 @@ process.on("SIGINT", function () { process.exit(); }); -fastify.listen(process.env.PORT || 3000, function (err, address) { +fastify.listen(process.env.PORT || 3000, "0.0.0.0", function (err, address) { if (err) { fastify.log.error(err); process.exit(1);