#!/bin/bash
# Verify site still live after project move
echo -n "Home HTTP: "
curl -s -o /dev/null -w '%{http_code}\n' http://localhost/
echo -n "News HTTP: "
curl -s -o /dev/null -w '%{http_code}\n' http://localhost/news/
echo "Title: $(curl -s http://localhost/ | grep -o '<title>[^<]*</title>' | head -1)"
echo -n "Container: "
docker ps -a --format '{{.Names}} {{.Status}}' | grep bjcuh
