-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfly_old.toml
66 lines (51 loc) · 1.19 KB
/
fly_old.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
app = 'pranzo-api'
primary_region = 'arn'
kill_signal = 'SIGINT'
kill_timeout = '5s'
console_command = '/rails/bin/rails console'
[[processes]]
name = "web"
command = "bundle exec puma -C config/puma.rb"
[[processes]]
name = "worker"
command = "bundle exec sidekiq -C config/sidekiq.yml"
[experimental]
auto_rollback = true
[build]
[deploy]
release_command = 'bin/rails fly:release'
[env]
PORT = '8080'
RAILS_MASTER_KEY = '5e9bacb8557b00fe153871ded879dfff'
[[services]]
http_checks = []
internal_port = 3000
protocol = "tcp"
processes = ["web"] # Specify that this service routes to the "web" process
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 2
script_checks = []
[services.concurrency]
hard_limit = 200
soft_limit = 190
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 2
[[statics]]
guest_path = '/rails/public'
url_prefix = '/'