Application to display current weather:
$ git clone https://github.com/dshatohin/weatherapp.git
$ docker-compose up
Backend running on port 9000 and frontend - on port 8000.
Directories backend
and frontend
contains Dockerfiles
for prod and dev builds.
For backend distroless image is used - GoogleContainerTools/distroless
Using Azure cloud provisioned by terraform
.
The cheapest VMs possible -- $4 per month.
Using ansible-pull
tool and cloud-init
.
No need for manual ansible run every time changes made.
- GitHub Actions for building and deploying
- Use CDN for static content (instead of Nginx)
- scripts/makefile for local run