-
Notifications
You must be signed in to change notification settings - Fork 1
/
fly-prod.toml
53 lines (45 loc) · 1.3 KB
/
fly-prod.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
# fly.toml app configuration file generated for jetform-app on 2024-02-21T19:33:29+08:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "jetform-app"
primary_region = "sin"
kill_signal = "SIGTERM"
[build]
[deploy]
release_command = "/app/bin/migrate"
[env]
ENABLE_SUBDOMAINS = "true"
# need to be root domain because we enable subdomains routing
PHX_HOST = "jetform.id"
PORT = "8080"
MIDTRANS_MODE = "production"
IPAYMU_MODE = "production"
IPAYMU_USE_PROXY = "true"
WAFFLE_AWS_S3_BUCKET = "jetform-static"
WAFFLE_ASSET_HOST = "https://is3.cloudhost.id/jetform-static"
AWS_S3_HOST = "is3.cloudhost.id"
MAILER_FROM_EMAIL = "[email protected]"
ADMIN_EMAIL = "[email protected]"
MARKETING_SITE = "https://jetform.id"
POOL_SIZE = "10"
ECTO_IPV6 = "true"
REDIS_IPV6 = "true"
MAILGUN_DOMAIN = "mg.jetform.id"
DNS_CLUSTER_QUERY = "jetform-app.internal"
UMAMI_WEBSITE_ID = "ddf4c8d1-93ad-4091-8f96-82508d07c62a"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1
processes = ["app"]
[http_service.concurrency]
type = "connections"
hard_limit = 1000
soft_limit = 1000
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 1024