fly.io
As DeepIntShield uses multiple sub-modules (core, framework, etc.) and also embeds the front-end into a single binary (embed.FS), we use a custom Docker build step before we hand over the deployment to flyctl.
There are two ways to deploy DeepIntShield on Fly.io:
- By cloning the repo
- Using flyctl + Docker Hub image
By cloning the repo
Section titled “By cloning the repo”- Clone https://github.com/maximhq/deepintshield
- Ensure Make is installed.
- Run
make deploy-to-fly-io APP_NAME=<your-fly-app-name>
Using flyctl + Docker Hub image
Section titled “Using flyctl + Docker Hub image”- Update your
fly.tomlto specify the DeepIntShield Docker Hub image.
[build]image = "maximhq/deepintshield:latest"- Or you can specify the Docker Hub image path in the command:
fly deploy --app <your-app-name> --image docker.io/maximhq/deepintshield:latest