Refactor and enhance Archipelago setup and API
- Revamped GETTING_STARTED.md for clarity and completeness, detailing the Docker development environment and installation steps. - Updated Cargo.lock and Cargo.toml to replace deprecated dependencies and add new ones, including hyper-ws-listener and env_logger. - Improved WebSocket handling in the API to support upgrades and error management. - Enhanced Neode UI scripts to manage Docker containers during development. - Adjusted dummy app configurations for accurate LAN addresses. - Sorted app entries in the UI for better organization and accessibility.
This commit is contained in:
22
stop-docker-apps.sh
Executable file
22
stop-docker-apps.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Archipelago Docker Environment Stop Script
|
||||
# This script stops all the containerized apps
|
||||
|
||||
set -e
|
||||
|
||||
echo "🛑 Stopping Archipelago Docker Environment..."
|
||||
|
||||
# Use docker compose (new) or docker-compose (old)
|
||||
if docker compose version &> /dev/null 2>&1; then
|
||||
COMPOSE_CMD="docker compose"
|
||||
else
|
||||
COMPOSE_CMD="docker-compose"
|
||||
fi
|
||||
|
||||
$COMPOSE_CMD down
|
||||
|
||||
echo ""
|
||||
echo "✅ All containers stopped successfully!"
|
||||
echo ""
|
||||
echo "💡 To remove volumes (data), run: $COMPOSE_CMD down -v"
|
||||
Reference in New Issue
Block a user