- serve the built client from the server via serve-static (CLIENT_DIR), falling back to index.html outside /api, /mcp, /docs and /health - replace server and client Dockerfiles and nginx with one root Dockerfile and a single liqa compose service on port 13000 - use Playwright's chromium-headless-shell with only its required libs and DejaVu/Liberation fonts instead of Debian chromium and Noto - clear the npm cache in the runtime image - bump version to 1.19.0
16 lines
350 B
YAML
16 lines
350 B
YAML
services:
|
|
liqa:
|
|
build:
|
|
context: .
|
|
ports:
|
|
# UI, REST API (/api/v1), MCP (/mcp) and Swagger (/docs)
|
|
- "13000:3000"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
# persist SQLite database across restarts
|
|
- ./data:/app/data
|
|
# mount key files into the container
|
|
- ./keys:/app/keys
|
|
restart: unless-stopped
|