docker-entrypoint: overwrite ./config/local-production.cjs to let the user free of overwriting those variables in local.cjs (aka the autority file)

This commit is contained in:
jums
2025-02-27 10:00:57 +01:00
committed by maxlath
parent e077f29cba
commit 9df0d0ebd5

View File

@@ -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}',