mirror of
https://github.com/aljazceru/payments-rest-api.git
synced 2025-12-21 23:44:22 +01:00
Deployment to fly.io
This document explains deploying breez payments api to fly.io
Prerequisites
- Python 3.10+
- Poetry (package manager)
- Breez Nodeless SDK API key
- 12 words BIP 39 seed ( use Misty Breez to generate it)
Installation
Deployment to Fly.io
-
Install the Fly CLI:
# macOS brew install flyctl # Linux curl -L https://fly.io/install.sh | sh # Windows pwsh -Command "iwr https://fly.io/install.ps1 -useb | iex" -
Log in to Fly:
fly auth login -
Launch the app:
fly launch -
Set secrets:
fly secrets set BREEZ_API_KEY=your_breez_api_key fly secrets set SEED_PHRASE=your_mnemonic_seed_phrase fly secrets set API_SECRET=your_api_secret -
Deploy the app:
fly deploy