-
Notifications
You must be signed in to change notification settings - Fork 1
/
fly.toml
59 lines (47 loc) · 1.08 KB
/
fly.toml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# fly.toml app configuration file generated for probe on 2024-06-10T01:59:49-06:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'probe'
primary_region = 'dfw'
kill_signal = 'SIGTERM'
[build]
[deploy]
release_command = '/app/bin/migrate'
[env]
PHX_HOST = 'probe.sh'
PORT = '8080'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[http_service.concurrency]
type = 'connections'
hard_limit = 1000
soft_limit = 1000
# We can't forward a range of ports unfortunately, so we pick a few common
# ports to run the test from.
# Fly doesn't rewrite UDP ports, so the service has to listen on the same port
# internally and externally.
[[services]]
internal_port = 1701
protocol = "udp"
[[services.ports]]
port = 1701
[[services]]
internal_port = 51820
protocol = "udp"
[[services.ports]]
port = 51820
[[services]]
internal_port = 60000
protocol = "udp"
[[services.ports]]
port = 60000
[[vm]]
memory = '4gb'
cpu_kind = 'performance'
cpus = 2