From 751751e8f44b01f9826d0feca32135d411f47a08 Mon Sep 17 00:00:00 2001 From: Sergio Toro Date: Thu, 16 Nov 2023 13:38:03 +0100 Subject: [PATCH] docs: add HOSTNAME docs (#305) * docs: add HOSTNAME docs * docs: update docs --- docs/jackson/deploy/env-variables.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/jackson/deploy/env-variables.md b/docs/jackson/deploy/env-variables.md index 4d010a5f..5ce20329 100644 --- a/docs/jackson/deploy/env-variables.md +++ b/docs/jackson/deploy/env-variables.md @@ -10,6 +10,11 @@ The env vars are only applicable to the Jackson service. If you are using the np ## General configuration +### **HOSTNAME** + +If you need to bind to a specific hostname, you can define `HOSTNAME` environment variable. +For example, if you are planning to use a Docker health check like `wget -q --spider http://localhost:{PORT}/api/health || exit 1` set `HOSTNAME=0.0.0.0` to listen to localhost. + ### **HOST_URL** The URL to bind to.