Files
TSYSDevStack-Toolboxes/artifacts/SupportStack/create-network.sh
T
mrcharlesandQwen-Coder 1944b494ee feat: complete MVP implementation of SupportStack with docker-socket-proxy, homepage, and wakaapi
- Implemented docker-socket-proxy, homepage, and wakaapi components using TDD approach
- Created environment settings, control script, and Docker Compose files
- Added comprehensive test suite for all components
- Configured shared Docker network and proper resource limits
- Enabled homepage integration with proper labels
- Fixed homepage host validation issues for VSCode remote access
- Updated status documentation with progress tracking

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-10-28 18:16:49 -05:00

25 lines
745 B
Bash
Executable File

#!/bin/bash
# Script to create the shared Docker network for TSYSDevStack SupportStack Demo
set -e
# Load environment settings
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ENV_FILE="${SCRIPT_DIR}/TSYSDevStack-SupportStack-Demo-Settings"
if [ ! -f "$ENV_FILE" ]; then
echo "Error: Environment settings file not found at $ENV_FILE"
exit 1
fi
source "$ENV_FILE"
# Create the shared network if it doesn't exist
if ! docker network ls | grep -q "$TSYSDEVSTACK_NETWORK_NAME"; then
echo "Creating shared network: $TSYSDEVSTACK_NETWORK_NAME"
docker network create "$TSYSDEVSTACK_NETWORK_NAME" --driver bridge
echo "Network created successfully"
else
echo "Network $TSYSDEVSTACK_NETWORK_NAME already exists"
fi