Sign inSign up

frigat/weir

By frigat

Updated 5 days ago

Image
1

708

frigat/weir repository overview

Weir

Thin, high-performance HTTP gateway over MSSQL and PostgreSQL. Call an endpoint, Weir invokes a stored procedure or function and streams the result back as JSON. Metadata-driven, with a Blazor admin PWA. Built on .NET 10.

This image is the whole application: the ASP.NET Core host plus the admin PWA (served from the same origin). It connects to a SQL Server / PostgreSQL that you provide; it does not bundle a database.

Run

docker run -p 8080:8080 \
  -e Weir__DataConnections__default__ConnectionString="Server=...;Database=...;User Id=...;Password=...;TrustServerCertificate=True" \
  -e Weir__Admin__Username=admin -e Weir__Admin__Password=a-strong-password \
  -e Weir__Jwt__SigningKey=a-stable-secret \
  frigat/weir:latest
# Open http://localhost:8080

Persist the SQLite control-plane metadata (endpoints, keys, scopes, admins, audit, settings) on a volume:

-v weir-data:/data -e Weir__ControlPlane__ConnectionString="Data Source=/data/weir-control.db"

Tags

  • latest - the most recent release.
  • X.Y.Z - a pinned version (recommended for production).

Configuration

Everything is configured through environment variables (double underscore for nesting). At minimum set a target connection string, a strong admin password, and a stable JWT signing key. See the full reference in the repository.

Tag summary

Content type

Image

Digest

sha256:330a9e93e

Size

146.4 MB

Last updated

5 days ago

docker pull frigat/weir