Update healthchecks-install.sh

This commit is contained in:
CanbiZ 2025-08-21 11:14:22 +02:00
parent ab311f2bd2
commit 8faecd1f7d

View File

@ -44,10 +44,11 @@ $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC'"
msg_ok "Set up Database"
fetch_and_deploy_gh_release "healthchecks" "healthchecks/healthchecks" "source"
msg_info "Setup healthchecks"
cd /opt/healthchecks
mkdir -p /opt/healthchecks/static-collected/
$STD uv pip install wheel gunicorn -r requirements.txt
$STD uv pip install wheel gunicorn -r requirements.txt --system
LOCAL_IP=$(hostname -I | awk '{print $1}')
cat <<EOF >/opt/healthchecks/hc/local_settings.py
DEBUG = False