-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
35 lines (30 loc) · 859 Bytes
/
fly.toml
File metadata and controls
35 lines (30 loc) · 859 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
# fly.toml app configuration file generated for edgi-cloud on 2025-08-04T11:56:19-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'edgi-cloud'
primary_region = 'ord'
[build]
[env]
RESETTE_DATA_DIR = '/data'
RESETTE_STATIC_DIR = '/app/static'
PORTAL_DB_PATH = '/data/portal.db'
APP_URL = 'https://resette.envirodatagov.org'
# Configure Uvicorn to trust proxy headers for real client IPs
# FORWARDED_ALLOW_IPS = '*'
# Alternative: specify Fly.io's proxy network
FORWARDED_ALLOW_IPS = '172.16.0.0/12'
[[mounts]]
source = 'edgi_data_volume'
destination = '/data'
[http_service]
internal_port = 8001
force_https = true
auto_stop_machines = 'off'
auto_start_machines = false
min_machines_running = 1
processes = ['app']
[http_service.concurrency]
type = "requests"
soft_limit = 20
hard_limit = 25