forked from algora-io/algora
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfly.toml
More file actions
40 lines (33 loc) · 821 Bytes
/
fly.toml
File metadata and controls
40 lines (33 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# fly.toml app configuration file generated for algora on 2025-04-02T14:15:15+03:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'algora'
primary_region = 'iad'
kill_signal = 'SIGTERM'
[build]
[deploy]
strategy = "bluegreen"
release_command = '/app/bin/migrate'
[env]
PHX_HOST = 'algora.io'
PORT = '4000'
[http_service]
internal_port = 4000
force_https = true
auto_stop_machines = 'suspend'
auto_start_machines = true
min_machines_running = 1
processes = ['app']
[http_service.concurrency]
type = 'connections'
hard_limit = 1000
soft_limit = 100
[[http_service.checks]]
grace_period = "10s"
interval = "15s"
timeout = "2s"
method = "GET"
path = "/health"
[http_service.checks.headers]
X-Forwarded-Proto = "https"