This repository provides a template to deploy a Gin (Go web framework) application on the Akash Network. Follow the steps below to get started.
- Go 1.12+ installed
- Akash CLI or Akash Console configured with an account that has sufficient funds
- Docker Image: You need a compiled Gin application bundled into a Docker image, hosted on a public registry (like Docker Hub). The
deploy.yamlhas an image. This should be updated with the image you want to deploy.
- deploy.yaml: Main SDL file for deploying the Gin app on Akash (exposes port 8080, sets resource limits, etc.)
- README.md: This file contains setup instructions, usage, and template details.
-
Update
deploy.yaml:- Change the
image:value under theservices:web:section to point to your Gin application's Docker image. - (Optional) Adjust
resources:andpricing:based on your application's needs and budget
- Change the
-
Deploy your application using akash CLI using these steps provided Here
-
Alternatively, you can deploy and manage your application through the Akash Console:
- Open the Akash Console in your browser.
- Navigate to the Deployments section.
- Upload your deploy.yaml file.
- Follow the on-screen instructions to initiate the deployment.
- Monitor your deployment status directly from the console.