Stitch is a platform that integrates diverse oil & gas asset datasets, applies AI-driven enrichment with human review, and delivers curated, trustworthy data.
Local development is run via Docker Compose (DB + API + Frontend) with optional DB initialization/seeding.
- Docker Desktop (includes Docker Engine + Docker Compose)
Verify:
docker --version
docker compose versionCreate your local environment file:
cp env.example .envEdit .env as needed (passwords, seed settings, etc.).
Start (and build) the stack:
docker compose up --build
# or, if you have make installed:
make dev-dockeror, if already built:
docker compose up db api frontendUseful URLs:
- Frontend: http://localhost:3000
- API docs (Swagger): http://localhost:8000/docs
- Adminer (DB UI): http://localhost:8081
Note: The db-init service runs automatically (via depends_on) to apply schema and seed data based on .env:
STITCH_DB_SCHEMA_MODESTITCH_DB_SEED_MODESTITCH_DB_SEED_PROFILE
Stop containers and delete the Postgres volume (this removes all local DB data):
docker compose down -v
# or, if you have make installed:
make clean-dockerThen start fresh:
docker compose up db api frontend