Files
payments-rest-api/fly
2025-05-28 09:59:10 +02:00
..
2025-04-29 21:13:21 +02:00
2025-05-28 09:48:50 +02:00
2025-05-03 17:11:42 +02:00
2025-04-29 21:13:21 +02:00
2025-05-27 17:45:06 +02:00
2025-05-22 10:33:35 +02:00
2025-05-28 09:59:10 +02:00

Deployment to fly.io

This document explains deploying breez payments api to fly.io

Prerequisites

Installation

Deployment to Fly.io

  1. 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"
    
  2. Log in to Fly:

    fly auth login
    
  3. Launch the app:

    fly launch
    
  4. 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
    
  5. Deploy the app:

    fly deploy