Skip to content

Commit

Permalink
test files
Browse files Browse the repository at this point in the history
  • Loading branch information
andie787 committed Sep 19, 2023
1 parent aebad6e commit a7f90ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/processes.html.markerb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ order: 90

<%= partial "/docs/partials/v2_transition_banner" %>

There are a couple different ways to run multiple processes in a Fly.io app. All of them address the first rule of programs running in Fly VM: when your entrypoint program exits, our init kills the VM and we start a new one. So at the end of the day, something has to keep running “in the foreground”.

Process groups are a way to configure a single Fly App to run multiple different programs.

You define processes in your `fly.toml`, giving each process group a name and a command to run at boot. Every defined process runs in its own Fly Machine(s) within the app, which means they don't compete with each other for VM resources, and they can be scaled individually.
Expand Down
7 changes: 7 additions & 0 deletions apps/test-file.html.markerb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Test file
nav: firecracker
layout: docs
---

There are a couple different ways to run multiple processes in a Fly.io app. All of them address the first rule of programs running in Fly VM: when your entrypoint program exits, our init kills the VM and we start a new one. So at the end of the day, something has to keep running “in the foreground”.

0 comments on commit a7f90ee

Please sign in to comment.