Nicolas Cantu 01860b7af7 chore: remove gitmodules, add docv workspace crates, update systemd README
- Drop .gitmodules (ia_dev tracked as submodule pointer without file)
- Add services/docv Cargo workspace: docv-back, docv-shared, migrations, sources
- Refresh systemd/README.md
2026-04-03 17:55:50 +02:00
..

Systemd units

Ollama

Installed by the official Ollama Linux installer. Unit: ollama.service.

Expose the API to Docker on the same host (AnythingLLM) with a drop-in:

# /etc/systemd/system/ollama.service.d/override.conf
[Service]
Environment="OLLAMA_HOST=0.0.0.0:11434"

Then: sudo systemctl daemon-reload && sudo systemctl restart ollama

Helper in repo: ../configure-ollama-for-docker.sh writes this drop-in.

AnythingLLM

  • anythingllm.service — runs the official Docker image in the foreground under systemd (Type=simple).
  • Defaults: /etc/default/anythingllm (copy from anythingllm.default if missing).
  • Helper: /usr/local/sbin/anythingllm-docker-exec.sh (from ../scripts/anythingllm-docker-exec.sh).

Install / refresh:

sudo ./scripts/install-systemd-services.sh

Commands:

sudo systemctl status anythingllm
sudo systemctl restart anythingllm
journalctl -u anythingllm -f

Requires docker.service, user ncantu in group docker, and paths in /etc/default/anythingllm for non-default storage.

Git pull des clones projet (utilisateur, pas root)

Tirage périodique des dépôts listés dans projects/*/conf.json (voir ../cron/README.md) :