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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Fly.io Configuration for AllSource Core
# Deploy from monorepo root (Core Dockerfile needs workspace context):
# flyctl deploy --config apps/core/fly.toml --dockerfile apps/core/Dockerfile
# Scale: flyctl scale count 2 --app allsource-core
= "allsource-core"
= "iad" # US East (Virginia) - change to your preferred region
[]
= "Dockerfile"
[]
= "allsource_core=info,tower_http=info"
= "::"
# PORT is automatically set by Fly.io
# Core is internal-only (bead t-0ff8). Public ingress removed 2026-04-17.
# All user-facing traffic enters through Control Plane's delegation layer.
# Internal .fly network (http://allsource-core.internal:3900) still works
# because other Fly apps in the same org reach machine IPs directly — no
# [http_service] / [[services]] block is needed. See
# docs/deployment/API_SUBDOMAIN_SETUP.md for the full topology.
#
# Rollback: restore [http_service] and re-allocate a public IPv6 with
# `fly ips allocate-v6 -a allsource-core`.
# Top-level machine orchestration (was nested under [http_service])
= true
= true
= 1
# Internal HTTP health check so auto_stop/auto_start don't kill a healthy
# machine. Runs inside the Fly network; does not expose anything publicly.
[]
= "10s"
= "30s"
= "GET"
= "/health"
= 3900
= "http"
= "5s"
= "http"
[[]]
= "shared"
= 1
= 512
[]
= "allsource_data"
= "/app/data"