Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions django/getting-started/existing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Fly.io has its own command-line utility for managing apps, [flyctl](/flyctl). If

To configure and launch the app, use the command `fly launch` and follow the wizard. You can set a name for the app, choose a default region, launch and attach a Postgres database. You can also set up a Redis database though we will not be doing so in this example.

If your app needs Redis later (for example, as a Celery broker), `fly redis create` provisions an [Upstash Redis](/upstash/redis) database in your Fly.io organization. Its usage is billed on your Fly.io bill, so you don't need a separate Redis provider.

<CodeGroup>
```bash cmd
fly launch
Expand Down
2 changes: 2 additions & 0 deletions laravel/database-guides/laravel-redis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ The simplest way to connect your local Laravel application to a Redis Fly App is

Want a fully-managed Redis Fly App? Try [Upstash Redis](https://upstash.com/)! To set up, you can follow our-in-depth guide [here](/upstash/redis)

`fly redis create` provisions an [Upstash Redis](/upstash/redis) database in your Fly.io organization. Its usage is billed on your Fly.io bill, so you don't need a separate Redis provider.

Once you've configured the necessary details through the flyctl prompts, and the app deployment completes, you should get a summary of the Redis cluster you've just deployed, like so:
```output
Your Upstash Redis database blue-brook-3843 is ready.
Expand Down
2 changes: 2 additions & 0 deletions rails/the-basics/sidekiq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
source_url: https://fly.io/docs/rails/the-basics/sidekiq/
---

Rails applications commonly defer complex tasks that take a long to complete to a background worker to make web responses seem fast. This guide shows how to use [Sidekiq](https://github.com/mperham/sidekiq), a popular open-source Rails background job framework, to set up background workers, but it could be done with other great libraries like [Good Job](https://github.com/bensheldon/good_job), [Resque](https://github.com/resque/resque), [etc](https://www.ruby-toolbox.com/categories/Background_Jobs).

Check warning on line 7 in rails/the-basics/sidekiq.mdx

View workflow job for this annotation

GitHub Actions / Vale linter

[vale] reported by reviewdog 🐶 Consider using 'open source' instead of 'open-source'. Raw Output: {"message":"Consider using 'open source' instead of 'open-source'.","location":{"path":"rails/the-basics/sidekiq.mdx","range":{"start":{"line":7,"column":219},"end":{"line":7,"column":230}}},"severity":"INFO","code":{"value":"Fly.WordList"}}

## Provision a Redis server

Sidekiq depends on Redis to communicate between the Rails server process and the background workers. Follow the [Redis setup guide](/upstash/redis) to provision a Redis server and set a `REDIS_URL` within the Rails app. Be sure to set the `REDIS_URL` via a secret as demonstrated [here](/rails/the-basics/configuration#secret-variables).

`fly redis create` provisions an [Upstash Redis](/upstash/redis) database in your Fly.io organization. Its usage is billed on your Fly.io bill, so you don't need a separate Redis provider.

Verify the `REDIS_URL` is available to your Rails application before you continue by running:

<CodeGroup>
Expand Down
Loading