#!/usr/bin/env bash

set -euo pipefail

ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
source "${ROOT_DIR}/scripts/docker-prod-common.sh"

start_prod_services homepage carplace dashboard admin
wait_for_healthy homepage
wait_for_healthy carplace
wait_for_healthy dashboard
wait_for_healthy admin

echo "All frontend services are up and healthy."
