Skip to main content

Docker Compose template for a Soliplex stack, plus the soliplex-template Agent Skill and its build tooling.

Project description

Soliplex Docker Compose Template

A Docker Compose template that assembles a full Soliplex stack — a self-hosted RAG / AI system — from a backend, a Flutter web frontend, a document-ingest pipeline, and Postgres. This repository is configuration and Dockerfiles, not application source: the backend is installed from the published soliplex package and the frontend from a release build.

There are two ways to use it: run this repository directly as a reference stack to try Soliplex now, or generate your own tailored stack from it (for a real deployment). Both are below.

📖 Full documentation: https://soliplex.github.io/soliplex-template/

Try it

You need Docker (with the Compose plugin), uv, and an Ollama server the containers can reach.

git clone https://github.com/soliplex/soliplex-template.git
cd soliplex-template
uv run scripts/generate_secrets.py    # writes .secrets/*.gen (gitignored)
echo 'OLLAMA_BASE_URL=http://your-ollama-host:11434' > .env
docker compose up                     # first run builds images; takes a few minutes

OLLAMA_BASE_URL must point at an Ollama server that serves the models named in backend/environment/installation.yaml.

Once it is up, open the web frontend at http://localhost:9000. The terminal client (TUI) is bundled in the backend image, so you can run it against the stack without installing anything:

docker compose exec backend soliplex-tui --url http://localhost:8000

Generate your own stack

For a real deployment, scaffold a tailored project — your own project name, host ports, model choices, auth mode, and an installable Python package wired into the backend — instead of running this repository as-is. Use the bundled soliplex-template Agent Skill (ask an agent to generate a stack), or run the generator script directly:

uv run skills/soliplex-template/scripts/generate_soliplex_project.py \
    --out ../my-stack --interactive

See the "Generate a project" guide in the documentation for the full parameter list and the skill workflow.

What's in the stack

  • nginx — serves the web frontend and reverse-proxies the API.
  • backend — the Soliplex server (soliplex-cli serve).
  • haiku-ingester — the document pipeline that feeds the RAG vector store.
  • docling-serve — converts uploaded documents for ingestion.
  • postgres — thread persistence, authorization, and the ingester job queue.

Two more services are optional when you generate a project (and both run in this reference stack): a web TUI (the terminal client served as a web app, proxied at /tui/) and a local Gitea (proxied at /gitea/).

Documentation

Full documentation — prerequisites, exposed ports, architecture, secrets, the RAG pipeline, configuration, and generating a customized project — lives at https://soliplex.github.io/soliplex-template/ (sources under docs/, built with Zensical).

Preview or build it locally:

uv run zensical serve     # preview at http://localhost:8000
uv run zensical build     # static site under site/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

soliplex_template-0.13.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

soliplex_template-0.13-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file soliplex_template-0.13.tar.gz.

File metadata

  • Download URL: soliplex_template-0.13.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for soliplex_template-0.13.tar.gz
Algorithm Hash digest
SHA256 8c7e3ca667df070e6c67e85787ac5f3639d55eaf38eb61df41efe8a7decf3b23
MD5 d0affab855fdf93db71e340bff9ba896
BLAKE2b-256 08f1c464d00d32ba40f8e31b5cd2e4fbc6bcd0ea16a7923ed0a3eda01ca6ab88

See more details on using hashes here.

File details

Details for the file soliplex_template-0.13-py3-none-any.whl.

File metadata

  • Download URL: soliplex_template-0.13-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for soliplex_template-0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 d71ba606a3b54e7335854cc4a135104a98d31b788da5aaff309706690b71b049
MD5 78013232e723258f812c08e1ded775b9
BLAKE2b-256 c67ef1475628c44b2fab08144219abfa551068b4a676010f3f660b6fcb831d11

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page