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.14.dev0.tar.gz (14.4 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.14.dev0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file soliplex_template-0.14.dev0.tar.gz.

File metadata

  • Download URL: soliplex_template-0.14.dev0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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.14.dev0.tar.gz
Algorithm Hash digest
SHA256 bb370d4e3678933b9fc71bad5dc81057edb3121836d3c9e4cd23d6f1bbf5f92c
MD5 96e44c7291c145e0ef08e3ee08dbac81
BLAKE2b-256 2d1598fbacaa9ced3ce6a2f32a721821b22a2f236951ee570579d162ce50379d

See more details on using hashes here.

File details

Details for the file soliplex_template-0.14.dev0-py3-none-any.whl.

File metadata

  • Download URL: soliplex_template-0.14.dev0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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.14.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 9765f33c1d78b75b3ebed14f3133d6bb4f7726933ac1ff6b05e973148f7d396a
MD5 0f33b6d609c27f9f1cfe84feb8ce685b
BLAKE2b-256 7dcc89bcde1bf5f5d2e71bb60004e2619d67606f4b8ea1acbedbc39007a10d6e

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