Commit graph

10 commits

Author SHA1 Message Date
fc04ea7900 Align workflow with debshots pattern: docker CLI, permissions, layer caching
All checks were successful
Build and push container image / build-and-push (push) Successful in 6m0s
2026-08-22 11:51:02 +02:00
5e45dd358a Fix workflow schema: hardcode registry username
Some checks failed
Build and push container image / build-and-push (push) Failing after 1m1s
2026-08-22 11:19:58 +02:00
0b5634333b Add Forgejo Actions workflow to build and push image
Some checks failed
Build and push container image / build-and-push (push) Failing after 0s
2026-08-22 11:17:24 +02:00
434adf1f66 ffs 2026-08-22 10:33:53 +02:00
e7bd20eae9 fix 2026-08-22 00:59:44 +02:00
a046f3e0da add logging 2026-08-21 23:36:41 +02:00
7260d99d9e Keep curl in runtime image for Coolify
Coolify requires curl to be present in the container.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-28 16:06:39 +02:00
cc8974d6b7 Add health check endpoint at /ok
- Returns {"status": "ok"} as JSON
- No authentication required
- Useful for Kubernetes liveness/readiness probes

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-28 15:54:58 +02:00
21d467a284 Add Go implementation with ONNX Runtime
- Use golang:1.23-bookworm as builder
- Use debian:bookworm-slim as runtime
- Use github.com/yalue/onnxruntime_go for ONNX inference
- Use github.com/sugarme/tokenizer for tokenization
- Download ONNX Runtime v1.27.0 shared library
- Download model.onnx and model.onnx_data from onnx-community
- Support API_SECRET environment variable for authentication
- Final image size: ~266 MB

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-28 12:35:31 +02:00
6101df3bfe Initial Python implementation with ONNX Runtime
- Multi-stage Docker build (simplified to single-stage with pre-converted ONNX)
- HTTP server with ONNX inference
- API secret authentication
- Uses pre-converted all-MiniLM-L6-v2 ONNX model from onnx-community
- Image size: ~373 MB

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-28 12:04:00 +02:00