-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfly.toml
52 lines (41 loc) · 828 Bytes
/
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
app = "unbrewed-v2"
kill_signal = "SIGINT"
kill_timeout = 5
mounts = []
primary_region = "ams"
processes = []
[build]
dockerfile = "Dockerfile.gameserver"
[deploy]
strategy = "immediate"
[env]
# Should set this up!
#[[statics]]
# guest_path = "/app/public"
# url_prefix = "/public"
# Might be nice to add metrics later
#[metrics]
#port = 9091 # default for most prometheus clients
#path = "/metrics" # default for most prometheus clients
[[services]]
internal_port = 1111
processes = ["app"]
protocol = "tcp"
#[services.concurrency]
#hard_limit = 25
#soft_limit = 20
#type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 1024
[[metrics]]
port = 9999
path = "/metrics"