Sign inSign up

humblebeeai/rest.fastapi-orm-template

By humblebeeai

Updated over 1 year ago

Image
0

640

humblebeeai/rest.fastapi-orm-template repository overview

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

Run

docker compose up -d

Database must be reachable before startup.

Health

  • Health endpoint: /api/v1/health
  • Ping endpoint: /api/v1/ping

References

Tag summary

Content type

Image

Digest

sha256:e074e111f

Size

87.1 MB

Last updated

over 1 year ago

docker pull humblebeeai/rest.fastapi-orm-template