mirror of
https://github.com/AlexsJones/llmfit.git
synced 2026-10-20 02:36:29 +00:00
- Embed frontend dist assets directly into the Rust binary during multi-stage build - Replace multi-container setup in docker-compose.yml with unified llmfit service - Revert user provisioning to standard non-root user (UID 1000) and tighten permissions - Document glibc alignment requirements between rust-builder and runtime Debian stages - Restrict default allowedHosts in vite.config.js for safer local development - Remove rust-toolchain.toml to prevent overriding CI pipelines - Update Docker Compose test assertions to target single embedded service on port 8787 feat(docker): add web frontend service and multi-stage container support
18 lines
416 B
YAML
18 lines
416 B
YAML
---
|
|
services:
|
|
llmfit:
|
|
image: llmfit:local
|
|
build:
|
|
context: ..
|
|
dockerfile: Dockerfile
|
|
container_name: llmfit
|
|
restart: unless-stopped
|
|
command: ["serve", "--host", "0.0.0.0", "--port", "8787"]
|
|
ports:
|
|
- "8787:8787"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8787/health"]
|
|
interval: 15s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|