-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfly.toml
More file actions
37 lines (30 loc) · 735 Bytes
/
fly.toml
File metadata and controls
37 lines (30 loc) · 735 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
# fly.toml app configuration file generated for comapeo-cloud on 2024-10-07T20:59:21+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'comapeo-cloud'
primary_region = 'iad'
[env]
STORAGE_DIR = '/data'
[build]
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = 'suspend'
auto_start_machines = true
min_machines_running = 0
max_machines_running = 1
processes = ['app']
[[http_service.checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
timeout = "5s"
path = "/healthcheck"
[[vm]]
size = 'shared-cpu-1x'
memory = '512mb'
[mounts]
source = "myapp_data"
destination = "/data"
snapshot_retention = 14