diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-06-05 18:44:17 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-06-05 18:44:17 +0200 |
| commit | 3ec6dd09b01ddc9a18a70b15f9e47d0bf27d594b (patch) | |
| tree | 596ff4b6d1a6f73682bc207a54ac0b64921d0884 /hosts/herra/arion-compose.nix | |
| parent | ab57e6eaf9cd973c3e07d9d261d73e10cb1e5de1 (diff) | |
| parent | 80971b27fc79b6edc0693c91f938b358c0f3f543 (diff) | |
Merge branch 'main' of cgit:/srv/git/NixOS-config
Diffstat (limited to 'hosts/herra/arion-compose.nix')
| -rw-r--r-- | hosts/herra/arion-compose.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/hosts/herra/arion-compose.nix b/hosts/herra/arion-compose.nix new file mode 100644 index 0000000..daa4077 --- /dev/null +++ b/hosts/herra/arion-compose.nix @@ -0,0 +1,50 @@ +{pkgs, ...}: { + project.name = "odysseus"; + + services.odysseus.service = { + image = "ghcr.io/pewdiepie-archdaemon/odysseus:latest"; + + ports = [ + "7000:7000" + ]; + + volumes = [ + "/srv/odysseus/data:/app/data" + ]; + + environment = { + AUTH_ENABLED = "true"; + + LLM_HOST = "host.docker.internal:11434"; + + CHROMADB_HOST = "chromadb"; + + SEARXNG_INSTANCE = "http://searxng:8080"; + }; + + extra_hosts = [ + "host.docker.internal:host-gateway" + ]; + + depends_on = [ + "chromadb" + "searxng" + ]; + }; + + services.chromadb.service = { + image = "chromadb/chroma:latest"; + + volumes = [ + "/srv/odysseus/chroma:/chroma/chroma" + ]; + }; + + services.searxng.service = { + image = "searxng/searxng:latest"; + }; + + services.ntfy.service = { + image = "binwiederhier/ntfy:latest"; + }; +} |
