packaging/build-deb.sh baut mit cargo-deb beide Pakete für die Architektur des Rechners. Konfiguration in /etc/omega als conffiles mit absoluten Pfaden, Daten in /var/lib/omega, systemd-Units unter eigenen Systembenutzern; der Agent ist in der Gruppe docker und erzeugt bei der Installation den Token. Dienste starten erst nach Anpassen der Konfiguration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
1.6 KiB
TOML
51 lines
1.6 KiB
TOML
[package]
|
|
name = "omega-proxy"
|
|
description = "Omega AI Proxy für Ollama, llama.cpp und vLLM"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
argon2.workspace = true
|
|
axum.workspace = true
|
|
bytes.workspace = true
|
|
chacha20poly1305.workspace = true
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
futures-util.workspace = true
|
|
hex.workspace = true
|
|
ldap3.workspace = true
|
|
qrcode.workspace = true
|
|
totp-rs.workspace = true
|
|
webauthn-rs.workspace = true
|
|
rand.workspace = true
|
|
reqwest.workspace = true
|
|
rusqlite.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
sha2.workspace = true
|
|
tokio.workspace = true
|
|
toml.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
# Debian-Paket, gebaut mit packaging/build-deb.sh auf der Spark
|
|
[package.metadata.deb]
|
|
maintainer = "Stephan Rehfeld <stephan.rehfeld@th-nuernberg.de>"
|
|
copyright = "Technische Hochschule Nürnberg"
|
|
extended-description = "Proxy für Ollama, llama.cpp und vLLM mit Keys, Kontingenten, Zeitplan und Speicherverwaltung über mehrere Rechner."
|
|
section = "net"
|
|
priority = "optional"
|
|
depends = "$auto, passwd"
|
|
recommends = "omega-agent"
|
|
maintainer-scripts = "../packaging/proxy"
|
|
conf-files = ["/etc/omega/config.toml"]
|
|
assets = [
|
|
["target/release/omega-proxy", "usr/bin/", "755"],
|
|
["../packaging/proxy/config.toml", "etc/omega/config.toml", "640"],
|
|
["../packaging/proxy/omega-proxy.service", "lib/systemd/system/", "644"],
|
|
["../README.md", "usr/share/doc/omega-proxy/README.md", "644"],
|
|
["../config.example.toml", "usr/share/doc/omega-proxy/config.example.toml", "644"],
|
|
]
|