
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 35s
14 lines
430 B
Bash
Executable File
14 lines
430 B
Bash
Executable File
#!/bin/bash
|
|
# shellcheck disable=SC1091
|
|
source "${AGENT_PATH}/common.sh"
|
|
_check_required_env_vars "CONTAINER_NAME"
|
|
|
|
if ! _is_container_exists "$CONTAINER_NAME"; then
|
|
echo "Container $CONTAINER_NAME does not exist"
|
|
exit 1
|
|
fi
|
|
|
|
# Show logs with follow by default
|
|
echo "Showing logs for Cloudflare Tunnel (Ctrl+C to exit)..."
|
|
echo "======================================================="
|
|
docker logs -f "$CONTAINER_NAME" 2>&1 |