#!/usr/bin/env bash set -euo pipefail ENV_FILE="${ENV_FILE:-.env.localdev}" if [[ ! -f "$ENV_FILE" ]]; then echo "Missing $ENV_FILE" echo "Copy .env.localdev.example -> .env.localdev and fill secrets/passwords first." exit 1 fi docker compose --env-file "$ENV_FILE" up -d --build echo "Local stack started with $ENV_FILE"