2026-06-25 00:28:23 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
cd "$(dirname "$0")/.."
|
2026-06-25 00:45:44 +00:00
|
|
|
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
|
2026-06-25 00:28:23 +00:00
|
|
|
echo "OK — http://10.0.21.33/"
|
2026-06-25 00:45:44 +00:00
|
|
|
echo "Env file: $(pwd)/atc.env"
|