-
Notifications
You must be signed in to change notification settings - Fork 836
Expand file tree
/
Copy pathfly.toml
More file actions
40 lines (33 loc) · 871 Bytes
/
fly.toml
File metadata and controls
40 lines (33 loc) · 871 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
# fly.toml app configuration file generated for explainshell on 2026-03-05T12:24:22+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'explainshell'
primary_region = 'iad'
[build]
[deploy]
strategy = "bluegreen"
[env]
DB_PATH = '/opt/webapp/explainshell.db'
DEBUG = 'false'
HOST_IP = '0.0.0.0'
PORT = '8080'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 2
# Disable the public explainshell.fly.dev hostname. Use `fly proxy 8080`
# to access the origin directly for debugging.
auto_assign_hostname = false
[[http_service.checks]]
interval = "10s"
timeout = "2s"
grace_period = "60s"
method = "get"
path = "/"
[[vm]]
size = 'shared-cpu-1x'
memory = '1gb'
cpus = 1