Skip to content

NetSepio/erebrus-gateway

Repository files navigation

Erebrus Gateway

Control plane for the Erebrus network: wallet auth, node discovery, WebSocket node hub, VPN client provisioning, entitlements, referrals/XP, and admin APIs.

Production API: gateway.erebrus.io
Webapp: erebrus.io

Quick start

cp .env.example .env          # set MNEMONIC, DB_PASSWORD for non-dev
docker compose up -d postgres redis
make run

Documentation

All docs live in docs/:

File Contents
GATEWAY.md Architecture, config, build, deploy, CI/CD, metrics, QA
gateway-api.openapi.yaml HTTP API (OpenAPI 3)
ws-protocol.md Node ↔ gateway WebSocket (frozen v2.0)

Build

make test && make build
./scripts/docker-build.sh     # Docker image with version 2.0.<count> + tag <sha>

Production deploy

Server directory (~/gateway) holds .env + compose files from deploy/. CI (docker-publish.yml on main/prod) builds the image, pushes to GHCR, SSHs to your VPS (dev or prod), syncs compose manifests, and runs docker compose up. Secrets are provider-agnostic (DEV_* / PROD_* / GHCR_*) — see docs/GATEWAY.md § CI/CD.

License

See LICENSE.

About

Gateway to the secure and agentic internet powered with DePIN

Topics

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages