From 4d61613826fbd53b40d567b98fcb50412c2b16f9 Mon Sep 17 00:00:00 2001 From: maxlath Date: Thu, 27 Feb 2025 20:36:40 +0100 Subject: [PATCH] inventaire: local config: fix hostname inventaire being the server hostname within the docker container --- inventaire/docker-entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/inventaire/docker-entrypoint.sh b/inventaire/docker-entrypoint.sh index f637fc5..49afbe4 100755 --- a/inventaire/docker-entrypoint.sh +++ b/inventaire/docker-entrypoint.sh @@ -7,6 +7,7 @@ cd /opt/inventaire # Overwrite the local-${NODE_ENV} config with environment variables every time the container is restarted cat > "./config/local-${NODE_ENV}.cjs" << EOF module.exports = { + hostname: 'inventaire', port: '${INVENTAIRE_PORT}', publicHostname: '${PUBLIC_HOSTNAME}', instanceName: '${INSTANCE_NAME}',