forked from pyrite-wiki/pyrite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
36 lines (29 loc) · 790 Bytes
/
Copy pathfly.toml
File metadata and controls
36 lines (29 loc) · 790 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
# fly.toml — Fly.io configuration for Pyrite
# Deploy: fly launch --copy-config, then fly deploy
app = "pyrite" # Change this to your app name
[build]
dockerfile = "Dockerfile"
[env]
PYRITE_HOST = "0.0.0.0"
PYRITE_DATA_DIR = "/data"
# A public hostname: require accounts. The first account registered becomes
# admin, so register yours right after the first deploy.
PYRITE_AUTH_ENABLED = "true"
[http_service]
internal_port = 8088
force_https = true
auto_stop_machines = "stop"
auto_start_machines = true
min_machines_running = 0
[[http_service.checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
path = "/health"
timeout = "5s"
[mounts]
source = "pyrite_data"
destination = "/data"
[[vm]]
size = "shared-cpu-1x"
memory = "512mb"