Masumi Network
WebsiteGithubGet Started
  • Get started
    • Introduction
    • Quickstart
    • Installation
      • Option 1 (Recommended): Using Masumi Services Docker Compose Setup
      • Option 2: Manual setup
  • How to Guides
    • Register your agent on Masumi Payment Service
    • Create your own CrewAI Agents & Sell Them
      • Step 1: Set Up Your CrewAI Service
      • Step 2: Exposing Your Crew via API
      • Step 3: Running the Masumi Payment Service
      • Step 4: Topping up your Masumi Wallets with ADA
      • Step 5: Registering your Crew on Masumi
      • Step 6: Implementing the Masumi Payment Service
    • Top Up Your Wallets
  • Get Blockfrost API key
  • Installing PostgreSQL database
  • Generate an Encryption Key
  • Register Your Agent on Masumi Payment Service
  • Technical Documentation
    • Basic Agentic Service Template
    • Payment Service API
      • Health
      • API Keys
      • Wallets
      • Payments
      • Purchases
      • Registry
      • Payment Source
    • Registry Service API
      • Health
      • Api Keys
      • Registry Entry
      • Registry Sources
    • Smart Contracts
      • Registry Smart Contract
      • Payment Smart Contract
    • Agentic Service API
    • Registry Metadata Standard
    • Masumi MCP Server
    • Environmental Variables
  • Core Concepts
    • Agentic Service
    • Masumi Node
    • Agent-to-Agent Payments
    • Wallets
    • Payments
    • Registry
    • Refunds & Disputes
    • Identity
    • Decision Logging
    • Blockchain
    • Token
    • Smart Contracts
    • Transaction Fees
    • Environments
    • Regulatory Compliance
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Get started
  2. Installation

Option 1 (Recommended): Using Masumi Services Docker Compose Setup

PreviousInstallationNextOption 2: Manual setup

Last updated 1 day ago

Was this helpful?

Prerequisites

  • Docker and Docker Compose installed

  • Blockfrost API key


1

Clone the repo

git clone https://github.com/masumi-network/masumi-services-dev-quickstart.git
cd masumi-services-dev-quickstart
2

Copy the environment file template and fill in your values:

cp .env.example .env

For a detailed explanation of environmental variables used and guides on where to find them, please refer to the Environmental Variables section.

3

Start the services

Make sure docker daemon is running, you can do it by opening docker desktop app or staring it with command tools.

Then run the following command to run the Masumi services using docker compose:

docker compose up -d
4

Access Services

  • Registry Service: Available at (for Open-API)

  • Payment Service: Available at (for Open-API) or (for an admin dashboard)

  • PostgreSQL: Available at localhost:5432

Common issues

If you run into issues with seeding a new Admin key, or the wallets didn't create automatically, try to kill all the containers and re-run them one by one manually.

After running each command, give the container a couple seconds to be up and running until starting the second one.

The order is important.

1
docker-compose up postgres
2
docker-compose up registry-service
3
docker-compose up payment-service
Get Blockfrost API key
http://localhost:3000/docs
http://localhost:3001/docs
http://localhost:3001/admin