Re:Hyper.sh – Effortless Docker Hosting
by TheDong on Tuesday November 08, 2016 @01:33PM
(#12902714)
> LATEST_HASH=$(git log -1 --pretty=format:%h)
LATEST_HASH=$(git rev-parse --short HEAD)
is the more normal way to do that.
It also looks like you'll have downtime due to deleting then running. Eww.
Re:Hyper.sh – Effortless Docker Hosting
by mrmrcoleman on Tuesday November 08, 2016 @09:16AM
(#12900343)
Hey Beneilles, this looks reasonable but I'm not sure where you got your Hyper_IP from.
Could you drop a note on the forum [1] or join the slack [2] and ask there?
I've written the following instructions for updating the site (build new image, push to Docker Hub, pull into hyper.sh, stop previous container, run new one, attach floating IP). Does it seem reasonable?