Option 1 (Recommended): Using Masumi Services Docker Compose Setup
Prerequisites
Docker and Docker Compose installed
Blockfrost API key
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.
Access Services
Registry Service: Available at http://localhost:3000/docs (for Open-API)
Payment Service: Available at http://localhost:3001/docs (for Open-API) or http://localhost:3001/admin (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.
docker-compose up postgres
docker-compose up registry-service
docker-compose up payment-service
Last updated
Was this helpful?