Goal #1. DONE Deploy a webserver with docker listening on the port 80 and display the "Hello world" message. System should include health check monitoring. The required DevOps tools should be installed in a Docker image.
Goal #2. Goal #1 PLUS:
- automatically scale up and down according to the load
- send an email to email address if it is not working
Install & run from the scratch:
Usage: bash <(curl -s https://raw.githubusercontent.com/netuddmeg/docker-test/master/start2.sh)
Using DigitalOcean droplet you need:
- Linux (ubuntu 16)
- minimal droplet (VPS)
- token to connect provider
- sudo access
- curl, git, docker-ce, docker-compose, docker-machine (Installed by the script!)
Steps:
- start the script
- type your token at prompt
- test the deploy: curl http://
docker-machine ip $DOCKERMACHINE
:80