updated deploy scripts and locations
This commit is contained in:
22
artery/room/ctrl/status.sh
Executable file
22
artery/room/ctrl/status.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
# Show room service status
|
||||
#
|
||||
# Usage:
|
||||
# ./status.sh
|
||||
#
|
||||
# This is a TEMPLATE. Copy to your room's ctrl/ and customize.
|
||||
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
[ -f ".env" ] && source .env
|
||||
|
||||
NAME="${DEPLOYMENT_NAME:-room}"
|
||||
|
||||
echo "=== Docker Containers ==="
|
||||
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" | grep -E "($NAME|NAMES)" || echo "No containers running"
|
||||
|
||||
echo ""
|
||||
echo "=== Networks ==="
|
||||
docker network ls | grep -E "(${NETWORK_NAME:-$NAME}|NETWORK)" || echo "No matching networks"
|
||||
Reference in New Issue
Block a user