Skip to content

Commit

Permalink
docs: add fly machines
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleTryon committed Jul 31, 2024
1 parent 0483a2a commit 74138b0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions content/integrations/fly.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,20 @@ curl -L https://depot.dev/install-cli.sh | sh # for Linux

### Fly CLI

When using Depot as the builder for your Fly.io apps, you will not need to connect a Depot account. Simply specify Depot as the builder with the `--depot` flag when deploying and automatically take advantage of Depot's accelerated builds.
When using Depot as the builder for your Fly.io apps, you will not need to connect a Depot account.

Simply specify Depot as the builder with the `--depot` flag when deploying and automatically take advantage of Depot's accelerated builds.

```shell
flyctl deploy --depot
```

Alternatively, if you are running Fly machines directly you can use the `--build-depot` flag.

```shell
flyctl machine run --build-depot
```

Depot's optimized build process will provide instant caching across all builds within your Fly.io organization, sharing layers between all your apps and deployments.

### Using Depot to build and push images to Fly.io
Expand All @@ -49,7 +57,7 @@ Next, you need to authenticate to the Fly registry for your app using the Fly CL

```shell
flyctl auth docker
```
````

#### Build and push the image

Expand Down

0 comments on commit 74138b0

Please sign in to comment.