1
0
mirror of https://github.com/algora-io/tv.git synced 2024-11-16 00:58:59 +02:00
algora-tv/fly.toml

94 lines
1.6 KiB
TOML
Raw Normal View History

2024-02-29 21:31:42 +02:00
# fly.toml app configuration file generated for algora-media on 2024-02-08T18:25:10+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'algora-media'
primary_region = 'lax'
2024-02-29 21:31:42 +02:00
kill_signal = 'SIGTERM'
kill_timeout = '5s'
[experimental]
auto_rollback = true
[build]
[deploy]
release_command = '/app/bin/migrate'
[env]
DNS_CLUSTER_QUERY = 'algora-media.internal'
PRIMARY_REGION = 'lax'
2024-02-29 21:31:42 +02:00
PHX_HOST = 'tv.algora.io'
PORT = '4000'
2024-04-06 15:16:34 +02:00
[mounts]
source="algora_media_tmp"
destination="/data"
2024-02-29 21:31:42 +02:00
[[services]]
protocol = 'tcp'
internal_port = 4000
processes = ['app']
[[services.ports]]
port = 80
handlers = ['http']
force_https = true
[[services.ports]]
port = 443
handlers = ['tls', 'http']
[services.concurrency]
type = 'connections'
2024-05-09 15:21:08 +02:00
hard_limit = 100000
2024-02-29 21:31:42 +02:00
soft_limit = 2000
[[services.tcp_checks]]
interval = '15s'
timeout = '2s'
grace_period = '20s'
[[services]]
protocol = 'tcp'
internal_port = 4001
processes = ['app']
[[services.ports]]
port = 81
handlers = ['http']
force_https = true
[[services.ports]]
port = 444
handlers = ['tls', 'http']
[services.concurrency]
type = 'connections'
2024-05-09 15:21:08 +02:00
hard_limit = 100000
soft_limit = 10000
[[services.tcp_checks]]
interval = '15s'
timeout = '2s'
grace_period = '20s'
2024-02-29 21:31:42 +02:00
[[services]]
protocol = 'tcp'
internal_port = 9006
processes = ['app']
[[services.ports]]
port = 9006
[services.concurrency]
type = 'connections'
2024-05-09 15:21:08 +02:00
hard_limit = 100000
soft_limit = 10000
2024-02-29 21:31:42 +02:00
[[vm]]
cpu_kind = 'shared'
2024-03-22 17:00:24 +02:00
cpus = 2
2024-05-09 15:21:08 +02:00
memory_mb = 4096