forked from mtusi2026/mtusi2026lab4
8 lines
195 B
Bash
8 lines
195 B
Bash
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
case "${1:-api1}" in
|
|
api1|api2) docker compose --env-file .env up -d "$1" ;;
|
|
*) echo "Usage: scripts/start-one.sh api1|api2" >&2; exit 2 ;;
|
|
esac
|