-
Notifications
You must be signed in to change notification settings - Fork 6
/
fly.toml
69 lines (60 loc) · 1.65 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
60
61
62
63
64
65
66
67
68
69
# fly.toml app configuration file generated for intercode on 2023-12-07T14:26:10-08:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "intercode"
primary_region = "iad"
swap_size_mb = 512
[build]
image = "ghcr.io/neinteractiveliterature/intercode:latest"
[deploy]
release_command = "bundle exec rails release:perform"
strategy = "bluegreen"
[env]
ASSETS_HOST = "assets.neilhosting.net"
AUTOSCALE_MIN_INSTANCES = "2"
AUTOSCALE_MAX_INSTANCES = "10"
CLOUDWATCH_LOG_GROUP = "intercode2_production"
DEFAULT_CURRENCY = "USD"
HEROKU_APP_NAME = "intercode"
INTERCODE_CERTS_NO_WILDCARD_DOMAINS = "5pi-con.natbudin.com signups.greaterbostonlarpsociety.org thepitch.aegames.org"
INTERCODE_HOST = "neilhosting.net"
JSON_LOGGING = "1"
MALLOC_ARENA_MAX = "2"
RACK_ENV = "production"
RAILS_ENV = "production"
RAILS_GROUPS = "skylight"
RAILS_LOG_TO_STDOUT = "enabled"
RAILS_MAX_THREADS = "3"
RAILS_SERVE_STATIC_FILES = "enabled"
RUBY_YJIT_ENABLE = "1"
SENTRY_TRACES_SAMPLE_RATE = "1.0"
SENTRY_PROFILES_SAMPLE_RATE = "1.0"
TWILIO_SMS_NUMBER = "+14156345010"
UPLOADS_HOST = "https://uploads.neilhosting.net"
WEB_CONCURRENCY = "0"
[processes]
shoryuken = "bundle exec shoryuken --rails -C config/shoryuken.yml"
web = "bundle exec bin/rails server -p 3000 -b 0.0.0.0"
[http_service]
force_https = true
internal_port = 3000
min_machines_running = 1
processes = ["web"]
[[http_service.checks]]
grace_period = "15s"
interval = "30s"
method = "GET"
path = "/healthz"
protocol = "http"
timeout = "5s"
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 512
processes = ["web"]
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 512
processes = ["shoryuken"]