llmfit/tests/docker-compose.yml
Lee Johnson ed8c1847aa
feat(docker): add multi-stage build (#911)
- 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
2026-09-01 11:30:09 +01:00

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