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 up
by running this command, MySQL and the server containers will be created sharing the same network.