#!/bin/sh set -eu : "${TARGET_INSTANCE_ID:?}" case "$TARGET_INSTANCE_ID" in api-1) SERVICE=api1 ;; api-2) SERVICE=api2 ;; *) exit 2 ;; esac docker compose start "$SERVICE"