B2ALABS® - Smart API Gateway Platform
®
Documentation/Installation

Installation Guide

Choose your installation method and get B2ALABS running in minutes.

Just Want to Try It?

Follow our 5-minute quickstart to get up and running immediately with Docker.

Docker Compose Installation

Recommended for local development and testing. Easiest way to get started.

Prerequisites

Docker(20.10+)
Docker Compose(2.0+)

Installation Steps

1. Clone the repository

git clone https://github.com/b2alabs/b2alabs.git
cd b2alabs

2. Configure environment variables (optional)

cp .env.example .env
# Edit .env with your configuration
nano .env

3. Start all services

docker-compose up -d

4. Verify services are running

docker-compose ps

5. Apply database migrations

cd packages/gateway-core
make migrate-up

6. Access the services

Management Commands

# Stop services
docker-compose down
# Restart services
docker-compose restart
# View logs
docker-compose logs -f gateway
# Clean restart (removes volumes)
docker-compose down -v
docker-compose up -d

Need Help with Installation?

Having trouble? CheckIcon our troubleshooting guide or contact support.

Was this page helpful?