Streamlined Golang web server deployment
.
βββ Dockerfile
βββ Jenkinsfile
βββ README.md
βββ app
βΒ Β βββ README.md
βΒ Β βββ db.go
βΒ Β βββ go.mod
βΒ Β βββ go.sum
βΒ Β βββ main.go
βββ docker-compose.yml
βββ goapp
βββ Chart.yaml
βββ charts
βββ templates
βΒ Β βββ app-deployment.yaml
βΒ Β βββ app-hpa.yaml
βΒ Β βββ app-service.yaml
βΒ Β βββ db-deployment.yaml
βΒ Β βββ db-service.yaml
βββ values.yaml- Dockerfile
- Jenkinsfile Pipeline Build job --> DockerHub Image
- Docker compose file
- Helm manifests for Kubernetes to deploy the app
- Autoscaling manifest
- argocd app file <-> Configurations Repo
- Documentation:
you can run the whole application and the MySQL database using one line only.
$ docker-compose upby running this command, MySQL and the server containers will be created sharing the same network.
