forked from elophanto/EloPhanto
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
41 lines (34 loc) · 721 Bytes
/
Copy pathfly.toml
File metadata and controls
41 lines (34 loc) · 721 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
# EloPhanto Cloud — Fly.io configuration
app = 'elophanto'
primary_region = 'ams'
[build]
dockerfile = "Dockerfile"
[env]
PYTHONUNBUFFERED = "1"
ELOPHANTO_CLOUD = "1"
ELOPHANTO_CONFIG = "/data/config.yaml"
[http_service]
internal_port = 18789
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
[http_service.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
[[mounts]]
source = 'data'
destination = '/data'
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
[checks]
[checks.health]
type = "http"
port = 18789
path = "/health"
interval = "30s"
timeout = "5s"
grace_period = "60s"