-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfly.toml
More file actions
26 lines (21 loc) · 768 Bytes
/
Copy pathfly.toml
File metadata and controls
26 lines (21 loc) · 768 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
# Fly.io configuration for SecureBit.chat (static PWA served by nginx).
# Set `app` to your chosen Fly app name and `primary_region` to the closest
# region (e.g. fra=Frankfurt, ams=Amsterdam, waw=Warsaw, iad=US East).
# Run `fly platform regions` to list them.
app = "securebit-chat"
primary_region = "fra"
[build]
dockerfile = "Dockerfile"
[http_service]
internal_port = 8080
force_https = true # matches the app's upgrade-insecure-requests CSP
auto_stop_machines = "stop"
auto_start_machines = true
min_machines_running = 1 # keep one machine warm so cold starts never 503 during testing
[http_service.concurrency]
type = "requests"
soft_limit = 200
hard_limit = 250
[[vm]]
size = "shared-cpu-1x"
memory = "256mb"