forked from oomol-lab/open-flow
-
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) · 969 Bytes
/
Copy pathfly.toml
File metadata and controls
42 lines (35 loc) · 969 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
# Change this to the globally unique Fly app name you create with `fly apps create`.
app = "my-open-flow"
primary_region = "iad"
# The Server drains Runs, SSE connections, and SQLite for up to 30 seconds after SIGTERM.
kill_signal = "SIGTERM"
kill_timeout = "45s"
[build]
dockerfile = "apps/server/Dockerfile"
[env]
NODE_ENV = "production"
OPEN_FLOW_HOST = "0.0.0.0"
OPEN_FLOW_PORT = "3000"
OPEN_FLOW_DATA_DIR = "/data/open-flow"
OPEN_FLOW_SESSION_COOKIE_SECURE = "true"
OPEN_FLOW_LOG_LEVEL = "info"
[mounts]
source = "open_flow_data"
destination = "/data/open-flow"
[http_service]
internal_port = 3000
force_https = true
# Cron and Poll Triggers only fire while the machine is running, so keep one machine up.
auto_stop_machines = "off"
auto_start_machines = true
min_machines_running = 1
[[http_service.checks]]
interval = "30s"
timeout = "5s"
grace_period = "15s"
method = "GET"
path = "/readyz"
protocol = "http"
[[vm]]
size = "shared-cpu-1x"
memory = "1gb"