Skip to main content

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/

Release files for soliplex-template 0.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for soliplex-template 0.17
File Size Uploaded
soliplex_template-0.17.tar.gz 21.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for soliplex-template 0.17
File Interpreter ABI Platform
soliplex_template-0.17-py3-none-any.whl Python 3 none any Details

Total release size: 43.9 kB

Release files / soliplex_template-0.17.tar.gz

Download URL soliplex_template-0.17.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f945bb7c0b5fcf127ef5b0656b303c68dbe699860570c31facba21c513448159
BLAKE2b-256 checksum
How to use checksums
938293b461bf7dab570ab840796f44ed7f4882ab3b5a7800ae9f7aea04bf1931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release files / soliplex_template-0.17-py3-none-any.whl

Download URL soliplex_template-0.17-py3-none-any.whl
Size 22.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d100761e803b95dd1f0b1929bb33438e62abe3781d9d7cb07adfd751ad985818
BLAKE2b-256 checksum
How to use checksums
148f2c1725bce65ee3d35d73d8cf4e495f66ea18365bfc8c525f7f4b765024e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release history Release notifications | RSS feed

This release

0.17 This release

2 release files

0.16.2

2 release files

0.16.1

2 release files

0.16

2 release files

0.15

2 release files

0.13

2 release files

0.12.1

2 release files

0.12

2 release files

0.11

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page