Skip to main content

Hosting overview

Choose a path:

OptionBest forNeeds Blaze?App config at
DockerVPS, Railway, Fly, Render, SSH hostsNoRuntime env / mounted JSON
Firebase HostingSpark free CDN · live demoNoBuild-time .env / CI secrets
Cloudflare PagesGlobal CDNNoBuild-time Pages env vars
VercelGit-connected staticNoBuild-time Project env vars
NetlifyGit-connected staticNoBuild-time Site env vars
AWS AmplifyAWS static hostingNoBuild-time Amplify env vars

Static hosts publish out/ from:

bun install
bun run build

Docker uses the Go image — no Next build inside the container.

Before you deploy (every platform)

Customize these for your Android / iOS app. Details: Configuration.

File / placeWhat to change for your app
config/site.jsonBrand, headline, tagline, footer, store button labels, theme colors
.env (or host CI env)Store URLs, ANDROID_PACKAGE_NAME, SHA-256 fingerprints, IOS_TEAM_ID, IOS_BUNDLE_ID, optional path overrides
Platform config fileUsually do not change headers — only project/site name (see each hosting page)
# Android App Links
ANDROID_PACKAGE_NAME="com.yourcompany.yourapp"
ANDROID_SHA256_CERT_FINGERPRINTS="AA:BB:CC:..."

# iOS Universal Links
IOS_TEAM_ID="ABCDE12345"
IOS_BUNDLE_ID="com.yourcompany.yourapp"

# Optional — default paths already include /__/auth/links*
# IOS_APP_PATHS="NOT /_/*,/*"
# IOS_INCLUDE_AUTH_LINKS="false" # only if you must disable Firebase auth path

After deploy, verify in a browser (must render JSON, not download):

  • https://YOUR_DOMAIN/.well-known/assetlinks.json
  • https://YOUR_DOMAIN/.well-known/apple-app-site-association

Live Firebase example: https://fir-email-link-host.web.app · assetlinks.json · AASA

Static vs Docker: where env lives

Static CDN (bun run buildout/)Docker / Go
Landing copy / themeBaked in at build from config/site.json + envRead at runtime
assetlinks / AASAGenerated in prebuild from env → copied into out/Built from env on each request / start
Change app IDs laterRebuild + redeployRestart with new env (or remount JSON)

Platform config files (quick map)

PlatformFile you may editTypical app-specific edit
Firebase.firebasercSet "default" to your Firebase project ID
Firebasefirebase.jsonKeep as-is (headers for .well-known)
Cloudflarewrangler.tomlOptional name for your Pages project
Cloudflarepublic/_headersKeep as-is
Vercelvercel.jsonKeep as-is (headers only)
Netlifynetlify.tomlKeep as-is
Amplifyamplify.ymlKeep as-is; set env in Amplify console
Dockercompose.yml / .envPorts, image tag, SITE_CONFIG_PATH mount, all app env