From 9df0d0ebd52fb8142670ab21f8968abfd9d9a302 Mon Sep 17 00:00:00 2001 From: jums Date: Thu, 27 Feb 2025 10:00:57 +0100 Subject: [PATCH] docker-entrypoint: overwrite ./config/local-production.cjs to let the user free of overwriting those variables in local.cjs (aka the autority file) --- inventaire/docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inventaire/docker-entrypoint.sh b/inventaire/docker-entrypoint.sh index bc80676..f36f044 100755 --- a/inventaire/docker-entrypoint.sh +++ b/inventaire/docker-entrypoint.sh @@ -2,8 +2,8 @@ set -eu -# Overwrite the local config with environment variables every time the container is restarted -cat > ./config/local.cjs << EOF +# Overwrite the local-production config with environment variables every time the container is restarted +cat > ./config/local-production.cjs << EOF module.exports = { port: '${INVENTAIRE_PORT}', publicHostname: '${PUBLIC_HOSTNAME}',