added example fly.toml

This commit is contained in:
Jon Taylor
2024-07-01 16:50:53 +01:00
parent 0399c84dfa
commit 602b4f34b1
2 changed files with 30 additions and 1 deletions

View File

@@ -8,9 +8,13 @@ For this example, we are using Daily as a WebRTC transport and provisioning a ne
## Setting up your fly.io deployment
### Create your fly.toml file
You can copy the `example-fly.toml` as a reference. Be sure to change the app name to something unique.
### Create your .env file
Using the `env.example`, enter the necessary API keys.
Copy the base `env.example` to `.env` and enter the necessary API keys.
`FLYFLY_APP_NAME` should match that in the `fly.toml` file.

View File

@@ -0,0 +1,25 @@
# fly.toml app configuration file generated for pipecat-fly-example on 2024-07-01T15:04:53+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'pipecat-fly-example'
primary_region = 'sjc'
[build]
[env]
FLY_APP_NAME = 'pipecat-fly-example'
[http_service]
internal_port = 7860
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[vm]]
memory = 512
cpu_kind = 'shared'
cpus = 1