mirror of
https://github.com/Twigpine/openlaunch.git
synced 2026-11-10 05:01:52 -10:00
openlaunch — launch a token. Free. Open source. On Base or Robinhood Chain. Contracts (LaunchFactory / LaunchLocker / LaunchToken, Foundry), the site (Next.js), brand assets. No platform fee, liquidity locked forever.
42 lines
1.4 KiB
TOML
42 lines
1.4 KiB
TOML
# openlaunch.lol (Fly app still named `basebid`; Postgres `basebid-db`) — free, open-source token launchpad on Base + Robinhood Chain. Deploy from this directory:
|
|
# fly deploy -c fly.toml --ha=false --remote-only \
|
|
# --build-arg NEXT_PUBLIC_LAUNCH_FACTORY=0x... --build-arg NEXT_PUBLIC_LAUNCH_LOCKER=0x... \
|
|
# --build-arg NEXT_PUBLIC_LAUNCH_FACTORY_ROBINHOOD=0x... --build-arg NEXT_PUBLIC_LAUNCH_LOCKER_ROBINHOOD=0x...
|
|
# Postgres: attached `basebid-db` (private 6PN; DATABASE_URL injected as a secret).
|
|
# Runtime secrets: BASE_RPC_URL, ROBINHOOD_RPC_URL, LAUNCH_DEPLOY_BLOCK, LAUNCH_DEPLOY_BLOCK_ROBINHOOD (scripts/fly-secrets.sh).
|
|
app = 'basebid'
|
|
primary_region = 'iad'
|
|
|
|
[build]
|
|
dockerfile = 'Dockerfile'
|
|
[build.args]
|
|
NEXT_PUBLIC_CHAIN = 'base'
|
|
NEXT_PUBLIC_SITE_URL = 'https://openlaunch.lol'
|
|
|
|
[deploy]
|
|
# Apply db/schema.sql (idempotent) before the new version takes traffic.
|
|
release_command = 'node scripts/migrate.mjs'
|
|
|
|
[env]
|
|
# In-process launchpad indexer (Fly has no cron). Single always-on machine.
|
|
LAUNCH_SYNC_LOOP = '1'
|
|
LAUNCH_SYNC_INTERVAL_MS = '15000'
|
|
|
|
[http_service]
|
|
internal_port = 3000
|
|
force_https = true
|
|
auto_stop_machines = 'off'
|
|
auto_start_machines = true
|
|
min_machines_running = 2
|
|
|
|
[[http_service.checks]]
|
|
interval = '15s'
|
|
timeout = '5s'
|
|
grace_period = '20s'
|
|
method = 'GET'
|
|
path = '/api/health'
|
|
|
|
[[vm]]
|
|
size = 'shared-cpu-2x'
|
|
memory = '1gb'
|