GoViolin is a web app written in Go that helps with violin practice. This repo contains the most important infra files needed to deploy this web app
view website from : ec2-54-83-200-211.compute-1.amazonaws.com
To run the docker file locally:
First build the image
docker build -t $IMAGE_NAME:$IAMGE_TAG .
Run the container
docker run -p 5000:8080 $IMAGE_NAME:$IAMGE_TAG
To run k8s or helm you should have minikube installed
- using multi-stage dockerfile to build small image size (around 225mb)
- based on alpine (less vulnerabilities)
Steps:
- [✓] Run tests
- [✓] Build Image
- [✓] Push to docker Hub
- [✓] Report to console and email
- Terraform scripts to build the infrastructure needed to run the image and jenkins
- For easily managing K8s files
helm install $RELEASE_NAME ./goviolin-chart