-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
29 lines (24 loc) · 768 Bytes
/
Copy pathfly.toml
File metadata and controls
29 lines (24 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
27
28
29
app = "bhulan-oivuldkc"
primary_region = "sjc"
[build]
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "stop"
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[processes]
app = "uvicorn bhulan.api.app:app --host 0.0.0.0 --port 8080"
[[vm]]
size = "shared-cpu-1x"
memory = "512mb"
# Persistent volume for the opt-in user accounts + request history DB.
# Auth stays off until BHULAN_AUTH_ENABLED=true is set and a volume named
# "bhulan_data" is created (`flyctl volumes create bhulan_data --size 1`).
# Without the volume the deploy still works — the API just ignores the
# mount and the auth routes return 503.
[mounts]
source = "bhulan_data"
destination = "/data"
initial_size = "1gb"