fixed network issue with multiple managed rooms

This commit is contained in:
buenosairesam
2026-01-27 02:26:03 -03:00
parent dd47f9c66f
commit 8c5deb74e8
12 changed files with 401 additions and 3 deletions

28
cfg/sample/ctrl/start.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
# Start all sample services
# Usage: ./ctrl/start.sh [-d]
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT_DIR="$(dirname "$SCRIPT_DIR")"
DETACH=""
if [[ "$1" == "-d" ]]; then
DETACH="-d"
fi
echo "=== Starting sample services ==="
# Start soleprint
echo "Starting soleprint..."
cd "$ROOT_DIR/soleprint"
docker compose up $DETACH &
# Start sample app
if [[ -f "$ROOT_DIR/sample/docker-compose.yml" ]]; then
echo "Starting sample app..."
cd "$ROOT_DIR/sample"
docker compose up $DETACH &
fi
wait
echo "=== All services started ==="