chore: scaffold project skeleton (pyproject, Docker, systemd, README)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
floppyrj45
2026-04-19 15:20:10 +00:00
parent 20e19239eb
commit f04d7c90c9
9 changed files with 295 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
[Unit]
Description=COSMA log analyzer (MCAP -> NATS anomaly events)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=cosma
Group=cosma
WorkingDirectory=/opt/cosma-log-analyzer
EnvironmentFile=/etc/cosma-log-analyzer.env
ExecStart=/opt/cosma-log-analyzer/.venv/bin/cosma-log-analyzer serve
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target