Skip to content
Firefly Plus
Docs menu
Docs / Start

Getting started

Sign up, add credits and deploy your first app, from a container image or from a GitHub repository.

An app runs your code from a container image. You can bring an image you’ve already built, or connect a GitHub repository and we build its Dockerfile on every push. This guide covers both.

Before you start

You need one of these:

  • a container image that serves a website or an API, with a linux/amd64 version;
  • a GitHub repository with a Dockerfile.

Your app should listen on all interfaces (0.0.0.0), on the port in the PORT variable. We set PORT for you.

Create your account

  1. Go to https://portal.firefly.plus/register.
  2. Enter your name, email address and a password, or choose Continue with GitHub.
  3. Agree to the terms, then choose Create account.
  4. Open the link in the email we send you.

You need a verified email address to create apps and add credits. Your organisation is created with your account: your apps, credits and limits belong to it.

Create an app from a container image

  1. In the sidebar, choose Apps, then Create app.
  2. Under Name, enter the App name: lowercase letters, digits and hyphens, starting with a letter. It sets your app’s address, https://<name>.fireflyplus.site, and can’t be changed later.
  3. Under Source, choose Container image, and enter the Image, such as ghcr.io/acme/api:1.4.2.
  4. If the image is private, tick The image is private, then enter the Registry username and Password or token.
  5. Under Processes, check that the web process’s Port is the port your app listens on.
  6. Under Variables and secrets, add what your app needs. You can add them later too.
  7. Leave Sleep when idle on if your app can take a few seconds longer on its first request after a quiet spell. See Processes.
  8. Check the Estimated cost, then choose Create app.

Creating an app is free. Nothing runs, and nothing is billed, until you deploy.

Add credits and deploy

Apps run on prepaid credits, billed by the second. Your first deploy asks you to add some.

  1. At the top of your app’s page, choose Deploy.
  2. In Add credits to deploy, choose Add credits. The Billing page opens.
  3. Under Add credits, choose a pack. The smallest is $20.
  4. Pay in our payment provider’s checkout. Tax is added there where it applies.
  5. Back on Billing, your credit shows once the payment is confirmed, usually within a minute. Your app then deploys by itself.

Your first purchase also adds $5 of promo credit, which expires after 30 days. See Billing.

Watch your first deploy

The deploy’s page shows each step as it happens:

  • Queued: waits for the app’s previous deploy, if there is one.
  • Build: an image app skips the build. The image’s tag is read and pinned, so this release always runs exactly that image.
  • Release: your release command runs, if you’ve set one.
  • Deploy: the instances start and must pass their health check.
  • Succeeded: the new release is serving.

If a step fails, the page says why, nothing that was running is replaced, and we email you.

When the deploy succeeds, open https://<name>.fireflyplus.site. The app’s Overview shows its status, its addresses, its recent deploys and its events.

Deploy from GitHub with a Dockerfile

  1. Choose Apps, then Create app, and enter a name as before.
  2. Under Source, choose GitHub repository.
  3. Choose Connect GitHub. On GitHub, install our GitHub App on your account or organisation, and choose which repositories it may read. It only reads code and reports build status on commits.
  4. Back on the form, choose the Repository and the Branch.
  5. If your Dockerfile isn’t at the top of the repository, set the Dockerfile path and the Build context.
  6. Leave Deploy automatically on every push on, or turn it off to deploy only by hand.
  7. Finish the form, choose Create app, then choose Deploy.

Deploy builds the newest commit on the branch with its Dockerfile, then deploys it. From then on, each push to the branch builds and deploys, and GitHub shows the result on the commit.

Builds are billed by the second while they run, and waiting in the queue is free. A build can run for up to 30 minutes. See Deploys and releases.

Your Dockerfile’s CMD should start your app listening on 0.0.0.0 and the port in PORT.

Examples

Each example is a small app with its Dockerfile and settings, ready to deploy:

Next steps

Something unclear? Email support@firefly.plus.