diff --git a/scripts/install-node.sh b/scripts/install-node.sh index c84989c..53deeb3 100644 --- a/scripts/install-node.sh +++ b/scripts/install-node.sh @@ -32,17 +32,17 @@ setup_compose_db() { setup_env() { if [[ ! -f "${INSTALL_DIR}/.env" ]]; then + cp "${INSTALL_DIR}/.env.example" "${INSTALL_DIR}/.env" SECRET=$(openssl rand -base64 32 2>/dev/null || head -c 32 /dev/urandom | base64) - cat >"${INSTALL_DIR}/.env" <>"${INSTALL_DIR}/.env" <