Files

14 lines
416 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -euo pipefail
cd "$(dirname "$0")/.."
if [ ! -f atc.env ]; then
echo "Missing atc.env — copy from config/command-center/atc.env.example"
cp config/command-center/atc.env.example atc.env
echo "Edit atc.env then re-run ./scripts/deploy.sh"
exit 1
fi
ln -sf "$(pwd)/atc.env" .env
docker compose --env-file atc.env up -d --build
echo "OK — http://10.0.21.33/"
echo "Env file: $(pwd)/atc.env"