
START_TIME=$(date "+%Y-%m-%d %H:%M:%S")
echo "InterviewPad Deployment Script | START: ($START_TIME)"

# Setup our swap / container variables. First, check and see which image is current (1 or 2).
if docker images | grep -q "ipapp_swap_image_1"; then
    CURRENT_SWAP_IMAGE="ipapp_swap_image_1"
    CURRENT_SWAP_CONT="ipapp_swap_cont_1"
    NEXT_SWAP_IMAGE="ipapp_swap_image_2"
    NEXT_SWAP_CONT="ipapp_swap_cont_2"
else