This article covers how to deploy a Monika instance to Fly.io.
Go to the Monika Github repository and download two files: Dockerfile.flyio and fly.toml.example
Rename the fly.toml.example
to fly.toml`.
Edit the contents of the fly.toml:
app = "monika" # Change the app name to the desired namekill_signal = "SIGINT"kill_timeout = 5[build]dockerfile = "Dockerfile.flyio"[build.args]PARAMS = "-v" # Change the parameters according to your needs[env]PARAMS = "-v" # Match the content of this PARAMS variable to the one in `build.args` block[experimental]auto_rollback = true
Refer to the Fly.io App Configuration Docs to customize the example TOML even further.
Install Fly.io CLI tools (flyctl
) in your computer
a. Proceed to authenticate to Fly.io by running flyctl auth login
in your terminal.
b. If you haven't signed up to Fly.io yet, you can sign up by running flyctl auth signup
in your terminal.
Create a new Fly.io app by running flyctl apps create
and enter the app name according to your fly.toml
you have created before.
Deploy Monika to your Fly.io by running flyctl deploy
Wait until the deployment is finished, and check Monika logs from the Fly.io dashboard to confirm that your Monika instance is running.
PT Artha Rajamas Mandiri (Hyperjump) is an open-source-first company providing engineering excellence service. We aim to build and commercialize open-source tools to help companies streamline, simplify, and secure the most important aspects of its modern DevOps practices.
Copyright © 2025 Hyperjump Tech. All Rights Reserved.