I am currently running two virtual servers with offical ghost image and nginx-proxy
image, here is my build-up.
docker run -d -p 86:2368 --name home -e "VIRTUAL_HOST=hostname.com" ghost
docker run -d -p 85:2368 --name home-blog -e "VIRTUAL_HOST=blog.hostname.com" ghost
They are all working well, but after a while (sometimes hours or a day), one of the vitual server will break down, and I have to restart the container to make it work.
I wonder is there any solution to automatically monitor the docker container and restart it when it goes down?