#!/bin/bash

# Define variables
CONTAINER_NAME="forum"

docker stop $CONTAINER_NAME
sleep 20
docker rm $(docker ps -a | grep $CONTAINER_NAME | awk '{print $1}')
docker run --name $CONTAINER_NAME -p 9999:80 -d postmill-populated-exposed-withimg
# wait ~15 secs for all services to start
