blonk is a radar for your web, where you follow vibes for cool blips on the radar
1# fly.toml app configuration file generated for blonk on 2024-01-15T12:00:00Z
2#
3# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4#
5
6app = "blonk"
7primary_region = "dfw"
8
9[build]
10
11[env]
12 DATABASE_URL = "ecto://postgres:postgres@top1.nearest.of.blonk-db.internal/blonk"
13 PHX_HOST = "blonk.fly.dev"
14 PORT = "8080"
15 MIX_ENV = "prod"
16
17[http_service]
18 internal_port = 8080
19 force_https = true
20 auto_stop_machines = true
21 auto_start_machines = true
22 min_machines_running = 0
23 processes = ["app"]
24
25[[vm]]
26 memory = "1gb"
27 cpu_kind = "shared"
28 cpus = 1
29
30[[statics]]
31 guest_path = "/app/priv/static"
32 url_prefix = "/assets"
33
34[deploy]
35 release_command = "/app/bin/migrate"
36
37[processes]
38 app = "/app/bin/server"
39
40[[services]]
41 protocol = "tcp"
42 internal_port = 8080
43 processes = ["app"]
44
45 [[services.ports]]
46 port = 80
47 handlers = ["http"]
48 force_https = true
49
50 [[services.ports]]
51 port = 443
52 handlers = ["tls", "http"]
53
54 [services.concurrency]
55 type = "connections"
56 hard_limit = 1000
57 soft_limit = 1000
58
59 [[services.tcp_checks]]
60 interval = "15s"
61 timeout = "2s"
62 grace_period = "1s"
63 restart_limit = 0