inventaire: local config: fix hostname

inventaire being the server hostname within the docker container
This commit is contained in:
maxlath
2025-02-27 20:36:40 +01:00
parent 19383ebc29
commit 4d61613826

View File

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