-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
42 lines (35 loc) · 869 Bytes
/
fly.toml
File metadata and controls
42 lines (35 loc) · 869 Bytes
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
app = "imasus-app"
primary_region = "cdg"
console_command = "/rails/bin/rails console"
[build]
dockerfile = "Dockerfile"
[deploy]
release_command = "bin/rails db:prepare"
[env]
ACTIVE_STORAGE_SERVICE = "amazon"
ACTIVE_JOB_QUEUE_ADAPTER = "async"
PORT = "3000"
RAILS_ENV = "production"
RAILS_LOG_TO_STDOUT = "true"
RAILS_SERVE_STATIC_FILES = "true"
SKIP_DB_PREPARE_ON_BOOT = "true"
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = "stop"
auto_start_machines = true
min_machines_running = 1
processes = ["app"]
[http_service.concurrency]
type = "requests"
soft_limit = 200
hard_limit = 250
[[http_service.checks]]
grace_period = "30s"
interval = "15s"
method = "GET"
path = "/up"
timeout = "5s"
[[mounts]]
source = "imasus_app_storage"
destination = "/rails/storage"