Self-hosted app·Personal data, cameras and smart home
Viseron hosting in Panama City
an off-site NVR on the Power VPS.
Viseron hosting in PTY1, Panama City: Docker on a 12 vCPU VPS, CPU-only detection, cameras over WireGuard, from $42.99/mo.
- OpenCV
- FFmpeg
- PostgreSQL
- Home Assistant
PTY1·Panama City
In stockRecommended for this use case
- 2 Gbps port40 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $386.99 a year, about 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 12 vCPU, 16 GB RAM
- 640 GB NVMe local storage
- 40 TB transfer on a 2 Gbps port
- DDoS protection included
- Panamanian law
01/06
Short answer.
Yes. Viseron runs in Docker on our Cloud VPS in PTY1, Panama City, and the plan we recommend is Power: 12 vCPU, 16 GB RAM, 640 GB NVMe and 40 TB of monthly transfer at 2 Gbps for $42.99 a month, plus a 1 TB S3-compatible bucket at $7.96 for copies that live off the VPS disk. The server is the easy part. What decides whether the setup works is the path between your cameras and PTY1: every stream crosses a WireGuard tunnel that your site opens outbound, and the sustained upload of the site's internet line caps how many cameras you can record. Accept two consequences of putting an NVR in a data centre before you order: a VPS has no GPU or Coral, so detection runs on the CPU, and when the site goes offline the recorder has nothing to record.
02/06
What Viseron is
and who runs it.
Viseron is a self-hosted network video recorder written in Python, released under the MIT licence and maintained on GitHub by the developer who publishes as roflcoopter. It ships only as Docker images. Cameras are read through FFmpeg or GStreamer; motion detection uses OpenCV's MOG2 or a background subtractor; object detection comes from Darknet or Ultralytics YOLO running in-process, from external DeepStack or CodeProject.AI servers, or from Coral EdgeTPU and Hailo-8 accelerators where that hardware exists. Face recognition (dlib, CompreFace) and licence-plate recognition sit on top, and since 3.7.0 plates can be read locally through FastALPR rather than by an external server.
The current release is 3.7.0, published on 17 September 2026. It added ONVIF control, per-camera recording schedules and image mirrors on GHCR, and dropped the Raspberry Pi 3 build. Version 3.6.0, in August, moved the container to Ubuntu 24.04, the bundled PostgreSQL to 16 and FFmpeg to 8.1. Continuous 24/7 recording has been there since the 3.0 series. Its users are mostly home-lab owners and small sites, a shop or a holiday house, that want object-triggered recording without a camera vendor's cloud.
The reason to run it in Panama rather than on a box in the cupboard is physical. A recorder next to the cameras can be unplugged and carried off by the person the cameras have just filmed; one in PTY1 keeps everything up to the moment the stream stopped. The cost is dependence on the site's uplink, which is why we would leave each camera's own SD-card recording switched on as a local fallback.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/06
Requirements and sizing.
Viseron asks little of the host: 64-bit Linux, Docker, 1 GB of shared memory for the container and port 8888 for the web interface. On our VPS the multi-arch roflcoopter/viseron image resolves to the generic amd64 build. The project's documentation warns that it is RAM-hungry, mostly because of object detection, and the real sizing work happens in CPU, transfer and disk.
Recording is nearly free in CPU terms, because FFmpeg copies the main stream into 5-second segments with -c:v copy. Decoding is the expense: every frame handed to the motion or object detector is decoded in software, since a VPS has no /dev/dri, no CUDA and no USB passthrough for a Coral. Give each camera a low-resolution substream for detection, keep scan_on_motion_only at its default so the object detector runs only while motion is seen, and on Darknet (which runs on CPU through OpenCV's implementation) consider the bundled yolov7-tiny model, accepting that the documentation calls the tiny models significantly less accurate. If a camera only offers MJPEG, Viseron re-encodes its recordings to H.264, which on a CPU-only host is a real cost; set cameras to H.264 or H.265 where you can.
Transfer and disk follow from bitrate, and every camera streams around the clock whether or not anything happens. The table below is theoretical, computed as Mbit/s × 86,400 s ÷ 8; read your cameras' actual bitrates from their encoder settings.
| Stream bitrate | Per camera per day | Per camera per 30 days |
|---|---|---|
| 0.5 Mbit/s (detection substream) | 5.4 GB | 162 GB |
| 2 Mbit/s | 21.6 GB | 648 GB |
| 4 Mbit/s | 43.2 GB | 1,296 GB |
| 8 Mbit/s | 86.4 GB | 2,592 GB |
Take six cameras with a 4 Mbit/s main stream and a 0.5 Mbit/s substream. The upload is the tighter limit. Asymmetric residential lines often cannot hold 27 Mbit/s up alongside normal use, and a saturated line shows up as gaps in the timeline. Distance to Panama adds latency to live view; recordings do not care.
Disk is where Power draws its line. Recording those six cameras 24/7 writes 259.2 GB a day, so 640 GB holds about two days once the system takes its share. Event recording changes the picture: at a theoretical two hours of events per camera per day, the same six cameras write 21.6 GB a day, and 600 GB of recordings covers close to four weeks. Power is the plan for event-based recording. For continuous recording with weeks of retention, take a dedicated server instead: NVMe add-ons cost $10 a month per 2 TB, up to 12 TB per server, each 2 TB buys roughly 7.7 days of 24/7 footage in the six-camera example, and dedicated traffic is unmetered under fair use, which suits streams that never stop.
04/06
How to deploy it
with us.
1. Order the server. Deploy Power with Debian 13 from this link. Log in with an SSH key and allow only SSH and UDP 51820 inbound. Port 8888 is never opened to the internet.
2. Build the tunnel. The VPS listens; a gateway at the camera site (OPNsense, OpenWrt, a MikroTik or any small Linux box on the camera VLAN) dials out with PersistentKeepalive = 25. Because the site initiates, CGNAT and a dynamic home address do not matter, and no port is opened at the site. Our notes on running WireGuard itself are at our guide to VPN servers.
# /etc/wireguard/wg0.conf on the VPS
[Interface]
Address = 10.8.0.1/24
ListenPort = 51820
PrivateKey = <vps-private-key>
[Peer]
# camera-site gateway; 192.168.20.0/24 is the camera VLAN
PublicKey = <site-public-key>
AllowedIPs = 10.8.0.2/32, 192.168.20.0/24On the gateway, the VPS peer gets Endpoint = <vps-ip>:51820 and AllowedIPs = 10.8.0.0/24, and the gateway forwards between the tunnel and the camera VLAN. Add your laptop and phone as further peers on the VPS so you can reach the interface, then run systemctl enable --now wg-quick@wg0.
3. Install Docker. Use Docker Engine and the compose plugin from Docker's Debian repository. The interface will bind to the tunnel address, so Docker has to start after WireGuard:
mkdir -p /etc/systemd/system/docker.service.d
printf '[Unit]\nAfter=wg-quick@wg0.service\nWants=wg-quick@wg0.service\n' \
> /etc/systemd/system/docker.service.d/10-wireguard.conf
systemctl daemon-reload4. Write the compose file. We run PostgreSQL as its own container, which Viseron supports through POSTGRES_DATABASE_URL since 3.5.0, because it turns backups into a plain pg_dump instead of copying a live database out of /config. Put PG_PASSWORD= in /srv/viseron/.env, and keep it URL-safe since it ends up inside a connection string.
# /srv/viseron/compose.yaml
services:
viseron-db:
image: postgres:16
restart: unless-stopped
shm_size: "128mb"
environment:
POSTGRES_USER: viseron
POSTGRES_PASSWORD: ${PG_PASSWORD}
POSTGRES_DB: viseron
volumes:
- ./pgdata:/var/lib/postgresql/data
viseron:
image: roflcoopter/viseron:3.7.0
restart: unless-stopped
shm_size: "1024mb"
depends_on:
- viseron-db
environment:
- POSTGRES_DATABASE_URL=postgresql://viseron:${PG_PASSWORD}@viseron-db/viseron
volumes:
- ./segments:/segments
- ./snapshots:/snapshots
- ./thumbnails:/thumbnails
- ./event_clips:/event_clips
- ./timelapse:/timelapse
- ./config:/config
- /etc/localtime:/etc/localtime:ro
ports:
- "10.8.0.1:8888:8888"Bind the port to 10.8.0.1, not to all interfaces. Docker writes its own iptables rules for published ports and bypasses ufw, so a bare 8888:8888 would put the interface on the public address whatever your firewall says. Pin the image tag and read the release notes before you move it.
5. Configure Viseron. Edit /srv/viseron/config/config.yaml directly or through the editor built into the web interface. A minimal one-camera file with authentication on, a substream for detection, motion-gated person detection and 500 GB of event retention:
webserver:
auth: # off by default; this key turns it on
ffmpeg:
camera:
front_door:
name: Front door
host: 192.168.20.11
port: 554
path: /Streaming/Channels/101/
username: !secret front_door_user
password: !secret front_door_pass
substream:
port: 554
path: /Streaming/Channels/102/
mog2:
motion_detector:
cameras:
front_door:
fps: 1
darknet:
object_detector:
model_path: /detectors/models/darknet/yolov7-tiny.weights
model_config: /detectors/models/darknet/yolov7-tiny.cfg
cameras:
front_door:
fps: 2
labels:
- label: person
confidence: 0.7
trigger_event_recording: true
nvr:
front_door:
storage:
recorder:
tiers:
- path: /
events:
max_size:
gb: 500Authentication stays off unless the auth key is present; with it, the first visit lands on an onboarding page that creates the admin user. The developer states that the login code has not been audited and recommends a VPN or a similar layer in front of anything internet-facing, which the tunnel already provides. Stream paths vary by camera brand; the ones above follow the Hikvision pattern used in Viseron's own examples. With no continuous rule in the storage tiers, only events are kept.
6. Back up to the bucket. Run this nightly from a systemd timer, with the bucket's access keys in the environment, an rclone remote named bucket of type S3, and a one-time restic init done beforehand:
mkdir -p /srv/backup && cd /srv/viseron
docker compose exec -T viseron-db pg_dump -U viseron viseron | gzip > /srv/backup/viseron.sql.gz
restic -r s3:https://<bucket-endpoint>/<bucket>/viseron backup /srv/viseron/config /srv/backup
rclone copy /srv/viseron/event_clips bucket:<bucket>/clips --min-age 15mThe last line only has work to do for cameras where you set create_event_clip: true, which writes an MP4 per event on top of the segments; enable it on the cameras whose events you want kept beyond the VPS. --min-age stops rclone from copying a clip that is still being written.
05/06
Cost.
Everything above runs on two catalogue items.
| Item | Plan key | Per month |
|---|---|---|
| Cloud VPS Power: 12 vCPU, 16 GB RAM, 640 GB NVMe, 40 TB transfer, 2 Gbps | Cloud VPS Power | $42.99 |
| Object storage, 1 TB S3-compatible bucket | 1 TB bucket | $7.96 |
| Total | $50.95 |
The bucket is billed by size only, with unlimited traffic in both directions and no request fees, so nightly restic runs cost nothing extra. Yearly billing takes roughly 25 % off the VPS, about $32.25 a month in theory. Daily VPS backups are available at +20 % ($8.60), and for this workload we would not buy them: an image of a disk that is mostly rotating video is an expensive way to save a config directory and a database dump that restic already ships to the bucket. Priority support is $10 a month.
Payment is in crypto only (AVAX, BCH, BNB, BTC, DOGE, ETH, LTC, SOL, TRX, USDC, USDT and XMR), with prices and balances in US dollars. Top-ups run from $25 to $5,000 with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, so a $100 top-up credits $110, a little over two months of this setup; the unused paid part of a top-up is refundable within 14 days. The account is no-KYC: an email address is enough. Every plan is listed on our pricing page.
06/06
Limits and acceptable
use.
Viseron records people, and you are responsible for what your cameras capture. Not acceptable on our servers: covert recording of people where they expect privacy, ingesting streams from cameras you do not own or are not authorised to use (including feeds found by scanning the internet for open RTSP ports), and using footage or face recognition to track or harass someone. We forward complaints about hosted content to the customer, and we act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful.
The law that applies to your footage depends on where the cameras and the people are, not only on where the server sits. In Panama, personal data is governed by Law 81 of 26 March 2019, implemented by Executive Decree 285 of 28 May 2021. If you film in the EU, the GDPR applies to you. The Court of Justice held in Ryneš (C-212/13, 2014), under the 1995 Directive whose household exemption the GDPR repeats, that a home camera which also covers a public footpath is not a purely household activity. Face recognition processes biometric data to identify people, a special category under Article 9. Because Panama has no EU adequacy decision, a business sending EU footage to a Panama VPS needs Article 46 safeguards such as the 2021 standard contractual clauses.
The footage itself sits in PTY1, under Panamanian law. Article 29 of Panama's Constitution allows private communications to be intercepted only on a judicial order, and private documents to be examined only on the order of a competent authority for specific purposes. Foreign requests travel through treaty channels such as the Panama–US mutual legal assistance treaty, in force since 6 September 1995, and as of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. None of this places footage beyond the reach of a court; it means a request has to pass through Panamanian process. The jurisdiction details are on our offshore hosting page.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerRecommendedHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| TitanDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Titan |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions
people ask first.
Short answers about running this in PTY1. If yours is not here, open a ticket from your panel.
Can I attach a Coral, a Hailo-8 or a GPU to Viseron on your VPS?
No. Our VPS plans have no PCI or USB passthrough and the catalogue has no GPU servers, so Viseron's CUDA, VAAPI, EdgeTPU and Hailo paths are unavailable. Detection runs on the CPU through Darknet or Ultralytics YOLO, or through a CodeProject.AI container on the same VPS, which is just as CPU-bound. If you already own a Coral, a local Viseron at the site that copies event clips to an object storage bucket may suit you better than a remote one.
Does camera traffic count against Power's 40 TB?
The site's upload bandwidth runs out long before the VPS allowance does.
Can I publish the web interface on HTTPS instead of using a VPN?
Viseron works behind Nginx, Traefik or Caddy and has supported a URL subpath since 3.4.0, so it is technically simple. We advise against it. Authentication is off by default, the developer says the implementation has not been audited, and a camera system is exactly the kind of target that gets probed. If you publish it anyway, enable auth and add a second layer at the proxy, such as client certificates.
What happens when the internet at the camera site drops?
Nothing is recorded for that period. FFmpeg restarts a camera when no frame arrives within frame_timeout (60 seconds by default), and recording resumes once the tunnel is back. Keep SD-card recording on in the cameras, and check wg show wg0 latest-handshakes from a monitor that is not at the site, so an outage reaches you before a missing clip does.
Can Viseron record straight into the object storage bucket?
No. Viseron always writes to the first storage tier, and its documentation requires that tier to be a local disk or a RAM disk because file detection fails on network mounts. A bucket is an S3 API, not a filesystem. Later tiers may be network mounts, but rclone mount under a tier that receives a steady stream of moved segments is the wrong tool; it suits read-mostly media libraries. Use rclone copy and restic against the bucket, as in step 6.
Which version does this page describe, and how should I upgrade?
Viseron 3.7.0 of 17 September 2026. Pin the tag, read the release notes, and upgrade deliberately. 3.7.0 removed the old ptz component in favour of onvif, so PTZ configurations need rewriting. With PostgreSQL in its own container, as above, a database major-version change happens only when you change the postgres:16 tag, and that one needs a dump and restore on your side. If you keep the bundled database instead, 3.6.0 migrated it to PostgreSQL 16 automatically on first start, and the container must not be restarted while that runs.
Sources
Every fact on this page, with its source
Checked 5 Nov 2026 unless noted.
Panamanian law and authorities
- Panama, Law 81 of 26 March 2019 on personal data protection, Gaceta Oficial 28743-Agacetaoficial.gob.pa
- Panama, Constitution, Article 29, Gaceta Oficial 25176s3-legispan.asamblea.gob.pa
EU and other countries
- US Department of Justice, CLOUD Act resourcesjustice.gov · verified 31 Oct 2026
- Regulation (EU) 2016/679 (GDPR), Articles 9 and 46eur-lex.europa.eu
- Commission Implementing Decision (EU) 2021/914, standard contractual clauseseur-lex.europa.eu
- Court of Justice of the EU, Case C-212/13 Ryneš, judgment of 11 December 2014, press release 175/14curia.europa.eu
Industry, providers and software
Other references
- Viseron documentation, Installation (images, volumes, port 8888, shared memory, external database, reverse proxy)viseron.netlify.app
- Viseron documentation, Storage component (tiers, first tier must be local, continuous recordings, external database)viseron.netlify.app
- Viseron documentation, FFmpeg component (5-second segments, -c:v copy, substream, frame_timeout, create_event_clip, MJPEG re-encoding)viseron.netlify.app
- Viseron documentation, Darknet component (OpenCV on CPU, tiny models, scan_on_motion_only)viseron.netlify.app
- Viseron documentation, Authentication (disabled by default, not audited)viseron.netlify.app
- Viseron component explorerviseron.netlify.app
- US Department of State, Panama–US Mutual Legal Assistance Treaty (signed 1991, in force 6 September 1995)state.gov
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.