ServiceActive

Fly Kubernetes

Fly Kubernetes: --- title: "Fly.io developer documentation" layout: docs toc: false breadcrumbs: false nav: firecracker --- <div class="grid grid-cols-2 items-center"> <div> ## Ready to get started?

Open source page

Field note

What it does

--- title: App configuration (fly.toml) layout: docs nav: firecracker --- You can configure an app for deployment on Fly.io using a `fly.toml` file. Configuration of builds, environment variables, internet-exposed services, disk mounts, and release commands go here. `fly.toml` configuration applies for apps managed by [Fly Launch commands](/docs/launch/). ## App configuration files Most of the time you'll use the `fly.toml` file that you get automatically when you run `fly launch` to create an app. There are also ways to re-use config files and to generate them in different formats. ### Ways to get a config file - Run [`flyctl launch`](/docs/flyctl/launch/) in your project source directory to create a new app and `fly.toml` file automatically. - Run [`flyctl config save -a <existing-app-name>`](/docs/flyctl/config-save/) to download a `fly.toml` file from an existing app. - Create one by hand with help from this reference, or copy and modify an example file.

Capabilities

Available capabilities

Tags

Tags

No tags filed yet.

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

App configuration files

App configuration (fly.toml)

Config file formats

Console command

How the shutdown sequence works

kill_signal option

kill_timeout option

Primary region

Runtime options

swap_size_mb option

The app name

Ways to get a config file