diff --git a/scripts/deploy-zabbix.sh b/scripts/deploy-zabbix.sh index 5ec3b8b..4c3cf64 100755 --- a/scripts/deploy-zabbix.sh +++ b/scripts/deploy-zabbix.sh @@ -720,8 +720,8 @@ target_server_image=${NEW_SERVER_IMAGE} current_web_image=${OLD_WEB_IMAGE} target_web_image=${NEW_WEB_IMAGE} -postgres_host=${POSTGRES_HOST} -postgres_port=${POSTGRES_PORT} +postgres_host=${DB_HOST} +postgres_port=${DB_PORT} postgres_database=${POSTGRES_DB} postgres_user=${POSTGRES_USER} EOF @@ -1076,7 +1076,7 @@ else UPGRADE_STARTED="$( date -u -d '10 minutes ago' '+%Y-%m-%dT%H:%M:%SZ' - ) + )" wait_for_zabbix_server