Overview
This Docker image packages a FastAPI-based REST API with ORM support for relational databases. It is optimized for services requiring persistent data, schema migrations, and clean separation between application and database layers.
Image
Repository : humblebeeai/rest.fastapi-orm-template
Registry : Docker Hub
Runtime : Python · FastAPI · SQLAlchemy
Database : PostgreSQL (external)
Responsibilities
REST API execution
ORM-based data access (SQLAlchemy)
Database connection management
Schema migration support (Alembic)
Runtime Model
Stateless application container
External PostgreSQL dependency
Configuration via environment variables
Designed for Docker Compose–based execution
Port
8000/tcp — REST API (configurable via FOT_API_PORT)
Build
docker compose build
Copy
Run
docker compose up -d
Copy
Database must be reachable before startup.
Health
Health endpoint: /api/v1/health
Ping endpoint: /api/v1/ping
References