-
Notifications
You must be signed in to change notification settings - Fork 20
/
fly.toml
54 lines (46 loc) · 1.69 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
# fly.toml file generated for keyboard-layout-optimizer on 2022-11-24T10:10:18+01:00
app = "keyboard-layout-optimizer"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[build]
dockerfile = "webui/layouts_webservice/Dockerfile"
[env]
ROCKET_ADDRESS = "0.0.0.0"
ROCKET_ALLOWED_CORS_ORIGINS = "https://dariogoetz.github.io"
ROCKET_DATABASES = "{\"sqlx\"={\"url\"=\"$DATABASE_URL\"}}"
ROCKET_DEFAULT_LAYOUT_CONFIG = "standard"
ROCKET_EVAL_PARAMETERS = "../../config/evaluation/default.yml"
ROCKET_KEEP_ALIVE = "0"
ROCKET_LAYOUT_CONFIGS = "[[\"standard\", \"../../config/keyboard/standard.yml\"], [\"ortho\", \"../../config/keyboard/ortho.yml\"], [\"moonlander\", \"../../config/keyboard/moonlander.yml\"], [\"crkbd\", \"../../config/keyboard/crkbd.yml\"], [\"lily58\", \"../../config/keyboard/lily58.yml\"], [\"ansi\", \"../../config/keyboard/standard_qwerty_ansi.yml\"]]"
ROCKET_LOG_LEVEL = "normal"
ROCKET_NGRAMS = "../../ngrams/deu_mixed_wiki_web_0.6_eng_news_typical_wiki_web_0.4"
ROCKET_PORT = "8080"
ROCKET_SECRET = "super_duper_secret"
ROCKET_STATIC_DIR = "../../webui/layouts_webservice/static"
[experimental]
allowed_public_ports = []
auto_rollback = true
cmd = "/app/webui/layouts_webservice/layouts_webservice"
[[services]]
http_checks = []
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
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"