Spaces:
No application file
No application file
File size: 589 Bytes
c20f20c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/bash
# Deploy IniClaw + OpenMAIC using Docker Compose
set -e
# Generate BRIDGE_SECRET if not provided
if [ -z "$BRIDGE_SECRET" ]; then
export BRIDGE_SECRET=$(openssl rand -hex 16)
echo "--- Generated new BRIDGE_SECRET: $BRIDGE_SECRET ---"
echo "Save this in your .env if you want it to persist."
fi
echo "--- 1. Building services ---"
docker-compose build
echo "--- 2. Starting services ---"
docker-compose up -d
echo "--- 3. Waiting for health ---"
sleep 5
echo "--- Deployment Complete ---"
echo "OpenMAIC: http://localhost:3000"
echo "IniClaw: http://localhost:7070"
|