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.16.2

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.16.2
File Size Uploaded
soliplex_template-0.16.2.tar.gz 14.5 kB Details

Built distribution (wheel)

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

Total release size: 27.1 kB

Release files / soliplex_template-0.16.2.tar.gz

Download URL soliplex_template-0.16.2.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
385d31e0da4493c5f48a7988c92fe830db9401427deca1cff91374ed2624c75e
BLAKE2b-256 checksum
How to use checksums
a9c21a69ce77e26efb5a9cdd0d147c3f02a3fca8eb838b21913f602bae352711
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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.16.2-py3-none-any.whl

Download URL soliplex_template-0.16.2-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afa40e21052c7f5572952e9cfbd1aac71acbc0acc0a79cb653befec81c01c133
BLAKE2b-256 checksum
How to use checksums
4c12e4755dd3688f0bf91c5e18ed5a69d6427c68d57ae054b75000c44c699fe7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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

0.17

2 release files

This release

0.16.2 This release

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