The Argus software stack
Argus runs on a set of open-source tools that were chosen for specific reasons: they work well together, they're actively maintained, they don't require cloud accounts, and they can be understood and repaired by the person running them. This page explains what each piece does, why we chose it over alternatives, and what you'd use instead if you wanted to swap something out.
Why containers?
The core Argus services run as Docker containers on the NVR host. This is worth explaining because it's not obvious why you'd run a camera system this way rather than installing software directly on the machine.
Isolation. Each service lives in its own container. A Frigate update can't break ntfy. A misconfigured Caddy can't crash Arcane. When something goes wrong, the blast radius is contained.
Clean updates. Updating a service means pulling a new container image and restarting one container. The host OS and every other service keep running. Rolling back is equally simple: point the container at an older image tag.
Reproducibility. LAN Foundry ships Argus systems with the full stack installed and running, ready for you to finish configuring for your network and devices. Docker makes it possible to produce the same environment every time, on every system, without manual steps that could vary.
Separation of data from software. Configuration lives in folders on the host under /opt/lanfoundry/config/, and recorded footage lives on the recording pool, both mounted into the containers rather than stored inside them. When you update Frigate, your recordings and config stay untouched because they're not inside the container.
The main tradeoff is a layer of abstraction to learn. When something goes wrong, you're checking container logs and Docker networks rather than system logs directly. That's why Arcane and Dozzle are in the stack; they make that layer navigable without living in the terminal.
The containers
These all run in Docker on the NVR, listed from the foundation up: Docker itself, the tool you manage it with, then the services in roughly the order you'll rely on them.
Docker — Containerization
Docker is the runtime that runs all other services as isolated containers.
Why Docker: It's the most widely understood container platform with the largest ecosystem of pre-built images. Every service in the Argus stack ships an official Docker image. Arcane, the container management UI we include, is built around Docker. The community resources, troubleshooting forums, and documentation for Frigate, ntfy, and Caddy all assume Docker.
Alternatives:
| Option | Trade-off |
|---|---|
| Podman | Docker-compatible CLI, rootless by default, good for security-focused setups |
| LXC / Proxmox | OS-level isolation rather than process-level, more overhead, better for running full OS environments |
| Bare metal | No abstraction layer, but updates are manual per-service and harder to reproduce across systems |
| NixOS | Fully declarative, highly reproducible, but steep learning curve |
Arcane — Container Management
Arcane is a web UI for managing Docker. It shows running containers, lets you start and stop services, view logs, check for image updates, and manage Docker Compose projects, all from a browser rather than the command line.
Why Arcane: It makes the Docker layer navigable for people who aren't comfortable with the CLI. Being able to restart a container, check container status, or update an image in a browser without SSH access significantly lowers the barrier for day-to-day management. Arcane is built around Compose: each project is a folder under /opt/lanfoundry/stacks/ holding a compose file, so what you see in the browser and what's on disk are the same thing, and either one can be edited. It's fully open source, with no paid tier holding back features. Most service configuration files live on the host under /opt/lanfoundry/config/ and are mounted read-only into their containers, so you edit them on the host over SSH, then restart the container from Arcane or the command line.
Arcane is bootstrapped first, before the rest of the stack, so it can then deploy everything else as managed projects. This is also where the shared nvr-network every other service's Compose block references gets defined:
Arcane's Docker Compose service
services:
arcane:
container_name: arcane
image: ghcr.io/getarcaneapp/manager:latest
restart: unless-stopped
networks:
- nvr-network
ports:
- "3552:3552"
environment:
- APP_URL=https://arcane.internal
- PUID=1000
- PGID=1000
- ENCRYPTION_KEY=<generate with: openssl rand -hex 32>
- PROJECTS_DIRECTORY=/opt/lanfoundry/stacks
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- arcane-data:/app/data
- /opt/lanfoundry/stacks:/opt/lanfoundry/stacks
volumes:
arcane-data:
networks:
nvr-network:
name: nvr-network
external: true
The projects folder is mounted at the same path inside the container as on the host, so relative paths in compose files resolve the same way for Arcane and for Docker. ENCRYPTION_KEY protects the secrets Arcane stores in its database; keep a copy of it with your backups.
Alternatives:
| Option | Trade-off |
|---|---|
| Portainer | Broader feature set and the longest track record, but its free Community Edition is being discontinued |
| Dockge | Focused on Compose stacks, modern UI, lighter weight, less full-featured |
| Yacht | Simple, minimal, less active development |
| Lazydocker | Terminal UI, fast, no web access, requires CLI comfort |
| Raw Docker CLI | No overhead, full control, requires CLI comfort and SSH access |
Frigate — NVR and AI Object Detection
Frigate handles everything camera-related: ingesting RTSP streams, running object detection on live footage, writing recordings to disk, and serving the web interface where you review events.
Why Frigate: It's the only mature open-source NVR that ships with real local AI object detection built in. Detection runs entirely on the NVR, with no cloud API and no subscription. It supports hardware acceleration via Hailo-8, NVIDIA GPU, or Intel QuickSync, which keeps CPU load manageable even on modest hardware. The configuration model (zones, masks, roles) is thoughtful, and the project is actively developed.
This is roughly what the Frigate service looks like in our Docker Compose stack. shm_size scales with camera count and resolution; the device passthrough lines only apply if you're using Hailo acceleration:
Frigate's Docker Compose service
services:
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:stable
restart: unless-stopped
networks:
- nvr-network
shm_size: "256mb" # scale up with camera count/resolution
ports:
- "5000:5000" # web UI / API
- "8554:8554" # RTSP restream
- "8555:8555/tcp" # WebRTC
- "8555:8555/udp"
environment:
FRIGATE_RTSP_PASSWORD: "change-me"
volumes:
- /opt/lanfoundry/config/frigate:/config
- /mnt/recordings:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
# devices: # uncomment for Hailo/iGPU passthrough
# - /dev/hailo0:/dev/hailo0
# - /dev/dri:/dev/dri
Alternatives:
| Option | Trade-off |
|---|---|
| MotionEye | Simpler setup, motion-only detection with no object classification |
| ZoneMinder | Long-established, but complex config and dated UI |
| Shinobi | Lighter weight, JavaScript-based, but less active development |
| Scrypted | Modern, plugin-based, good HomeKit support, but less mature for NVR use |
| Agent DVR / iSpy | Windows-native, good UI, not open-source |
Caddy — Reverse Proxy
Caddy sits in front of all the services and routes requests to them by hostname. Instead of typing 192.168.1.100:5000 to reach Frigate, you type https://frigate.internal. Caddy also handles HTTPS using its own internal certificate authority, so all connections are encrypted even on the local network.
Why Caddy: Its local certificate authority support (local_certs + tls internal) requires no external infrastructure or DNS challenges. It just works on a private network. The configuration is minimal: five lines per service compared to twenty or more with nginx. It handles automatic certificate issuance and renewal without certbot or cron jobs.
The Caddy service in the stack:
Caddy's Docker Compose service
services:
caddy:
container_name: caddy
image: caddy:2-alpine
restart: unless-stopped
networks:
- nvr-network
depends_on:
- frigate
- ntfy
- dozzle
ports:
- "80:80"
- "443:443"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- /opt/lanfoundry/config/caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- caddy-data:/data
- caddy-config:/config
And the Caddyfile it mounts:
The Caddyfile
{
local_certs
}
frigate.internal {
tls internal
reverse_proxy frigate.nvr-network:5000
}
arcane.internal {
tls internal
reverse_proxy arcane.nvr-network:3552
}
cockpit.internal {
tls internal
reverse_proxy https://host.docker.internal:9090 {
transport http {
tls_insecure_skip_verify
}
}
}
ntfy.internal {
tls internal
reverse_proxy ntfy.nvr-network:80
}
dozzle.internal {
tls internal
reverse_proxy dozzle.nvr-network:8080
}
Alternatives:
| Option | Trade-off |
|---|---|
| nginx Proxy Manager | Web UI for managing proxy rules, good for non-technical users, more overhead |
| Traefik | Automatic service discovery from Docker labels, powerful but complex configuration |
| HAProxy | High-performance, widely used, but no built-in HTTPS certificate management |
| nginx (raw) | Highly configurable, no cert automation without certbot |
frigate-notify — Event Routing
frigate-notify runs alongside Frigate and bridges its event API to notification providers. It polls Frigate every 30 seconds for new events, formats a notification, attaches the event snapshot, and sends it to ntfy.
Why frigate-notify: Frigate's built-in notification support is improving but has historically been limited in filtering options and attachment support. frigate-notify gives finer-grained control over which events trigger alerts, supports multiple notification providers simultaneously, and handles snapshot attachment reliably.
The frigate-notify service:
frigate-notify's Docker Compose service
services:
frigate-notify:
container_name: frigate-notify
image: ghcr.io/0x2142/frigate-notify:latest
restart: unless-stopped
environment:
- TZ=America/Chicago # your local time zone; used for alert times and quiet hours
networks:
- nvr-network
depends_on:
- frigate
- ntfy
volumes:
- /opt/lanfoundry/config/frigate-notify/config.yml:/app/config.yml:ro
And its config, wired to ntfy by default:
frigate-notify's config.yml
# frigate-notify config.yml
app:
mode: events
frigate:
server: http://frigate.nvr-network:5000
public_url: https://frigate.internal
ignoressl: false
webapi:
enabled: true
interval: 30
startup_check:
attempts: 5
interval: 30
alerts:
ntfy:
enabled: true
server: http://ntfy.nvr-network:80
topic: your-topic-name
ignoressl: false
Other providers (Discord, Gotify, Pushover, Telegram, SMTP, and more) can be enabled alongside or instead of ntfy — see the frigate-notify docs for the full provider list.
Alternatives:
| Option | Trade-off |
|---|---|
| Frigate's built-in ntfy | No extra container, simpler config, sufficient for most setups |
| Home Assistant automations | Very flexible if HA is already in the stack, but requires HA setup |
| Custom scripts | Full control, but you maintain them |
| Frigate webhooks | Trigger any HTTP endpoint on an event, no intermediary needed |
ntfy — Push Notifications
ntfy is a self-hosted push notification server. When frigate-notify sends it a notification, ntfy queues it and delivers it to subscribed devices: your phone, a browser tab, anything running the ntfy app or subscribed via the API.
Why ntfy: It requires no account, no third-party service, and no ongoing subscription. You run it, you control it. It has well-maintained apps for iOS and Android. On Android, the app connects directly to your own ntfy server, so alerts never pass through Google's servers. On iOS, every push has to go through Apple's servers. ntfy keeps that to a wake-up signal, and the iPhone then fetches the alert itself from your NVR. That requirement is an Apple platform constraint that applies to any self-hosted push service.
The ntfy service:
ntfy's Docker Compose service
And its server config. Nothing is sent to ntfy.sh by default, so notifications never leave your network unless you opt in. To get alerts away from home without a VPN, see remote notifications:
ntfy's server.yml
# ntfy server.yml
# Upstream to ntfy.sh is intentionally disabled for privacy-first operation.
# iPhones subscribed to this server need it to get instant alerts. To enable
# it (only a message ID is sent to ntfy.sh, never the alert itself), add:
# upstream-base-url: "https://ntfy.sh"
# then restart the ntfy container. This does not deliver alerts away from
# home; the phone still fetches each alert from this server.
base-url: https://ntfy.internal
attachment-cache-dir: /var/cache/ntfy/attachments
attachment-total-size-limit: 5G
attachment-file-size-limit: 15M
Alternatives:
| Option | Trade-off |
|---|---|
| Gotify | Simpler, self-hosted, but no native iOS push support without external relay |
| Pushover | Polished apps, reliable delivery, but not self-hosted; requires account and one-time $5 per platform |
| Telegram bot | Free and widely used, but requires a Telegram account and routes through Telegram's servers |
| Home Assistant | If HA is already in your stack, its notification system covers most of the same ground |
| Frigate's built-in ntfy | Simpler config, no frigate-notify needed, but less flexible filtering and no snapshot attachments in older versions |
Dozzle — Container Log Viewer
Dozzle is a real-time Docker log viewer. It streams logs from all running containers to a browser tab, without storing them or requiring any persistent configuration.
Why Dozzle: The most common reason to look at logs is to diagnose something that just went wrong. Dozzle makes that instant: open https://dozzle.internal, log in, click a container, and watch the logs live. It's read-only, stateless, and adds no meaningful overhead. It covers the 90% of log-checking cases that don't require log retention or search. It ships behind basic auth by default, since raw container logs can include IPs and other operational details you may not want open to anyone on the LAN.
Dozzle's Docker Compose service
Notice there's no ports: line. Dozzle is only reachable through Caddy, by container name, over the shared nvr-network, not published to your LAN at all. That pattern is worth reusing for anything you add yourself; see Running your own containers safely.
Alternatives:
| Option | Trade-off |
|---|---|
| Arcane's log view | Already in the stack, slightly less ergonomic for live tailing |
docker logs CLI |
No extra container, requires SSH access |
| Grafana Loki | Full log aggregation and search, significant setup and storage overhead |
Outside the containers
These are part of an Argus setup but don't run in Docker: Cockpit is installed directly on the host operating system, OPNsense runs on your router, and remote access is something you add yourself if you want it.
Cockpit — Host System Management
Cockpit provides a browser-based dashboard for the NVR host operating system. CPU, memory, disk usage, running services, system logs, and basic network info, all accessible at https://cockpit.internal without SSH.
Why Cockpit: It's maintained by Red Hat and packaged in Ubuntu's standard repositories, which means it gets security updates through the normal OS update process. It adds almost no overhead, and covers the most common reason you'd want to SSH into the host: checking that the system is healthy. It doesn't retain history or alert on thresholds, but for a dedicated NVR it doesn't need to.
Alternatives:
| Option | Trade-off |
|---|---|
| Webmin | More features, older codebase, heavier |
| Glances | Lightweight real-time system view, no persistent management features |
| netdata | Beautiful dashboards, historical data, more setup and resource use |
| Grafana + Prometheus | Full observability stack, significant setup and overhead for a single-node NVR |
| SSH only | No overhead, requires CLI comfort |
OPNsense — Firewall and Router
OPNsense is the open-source firewall and router that sits at the edge of the network. It handles DHCP, DNS (via Unbound and Dnsmasq), VLAN segmentation, and firewall rules that keep cameras isolated from the rest of the network.
Why OPNsense: It's actively developed, has a clear UI, and supports the features needed for a proper camera network: VLANs, local DNS with host overrides, firewall rules between network segments, and WireGuard VPN. The Unbound DNS integration is how frigate.internal resolves correctly on every device on the network without editing a hosts file.
OPNsense is not part of the Argus container stack. It runs on a separate device, a dedicated mini-PC or router hardware. Argus does not ship with a router.
Alternatives:
| Option | Trade-off |
|---|---|
| pfSense | Very similar feature set, different license history and community governance |
| OpenWRT | Runs on consumer router hardware, lighter, less UI polish |
| Ubiquiti UniFi | Polished hardware and software, but cloud-account dependent for full features |
| Consumer router | Simple setup, but limited or no VLAN and local DNS support; not recommended for camera network isolation |
Remote access
Nothing in the stack opens a way into your network from outside. Out of the box, the NVR is only reachable from devices on your home network.
If you want to check your footage while you're away, that's something you add yourself, and the choice of how is yours:
| Option | Trade-off |
|---|---|
| WireGuard on your router | What we recommend. Runs on your own hardware with no third party, but needs a router with a built-in WireGuard server and one forwarded port |
| Tailscale | Works with any router and behind CGNAT, but you're trusting Tailscale's servers and your login provider with access to your network. Read the risks first |
| Headscale | Same model as Tailscale with a control server you host yourself, more setup |
| ZeroTier | Similar mesh model to Tailscale, with the same kind of third-party trust |
Swapping components
The stack is not tightly coupled. The services communicate over a shared Docker network using container names, and the only real dependency chain is:
- Frigate needs cameras on the network to pull RTSP from
- frigate-notify needs Frigate to be running to poll for events
- ntfy needs
base-urlset if you want snapshot attachments - Caddy needs DNS entries to exist before hostnames resolve
Everything else is independent. You can run the stack without Cockpit, without Dozzle, or without Arcane if you prefer CLI management. You can replace ntfy with Gotify by changing the provider block in frigate-notify's config. You can skip frigate-notify entirely and use Frigate's built-in notification support.
The guides on this site describe the default Argus configuration. Where an alternative is straightforward to substitute, the relevant guide notes it.
Where to go from here
- Understanding network segmentation and VLANs — the network layer the stack runs on
- Configuring Caddy as a reverse proxy — how hostname routing works
- Setting up push notifications — the Frigate → frigate-notify → ntfy chain in detail
- Going Further — Home Assistant integration and community resources
Was this page helpful?
Found something wrong or out of date? Let us know below, or open a GitHub issue if you have a GitHub account.