add: Docker image and compose for containerized deploy

Multi-stage build (cgo for the SQLite logger) on debian-slim with ffmpeg,
opus-tools, and ca-certificates bundled. Compose mounts ./data/config.yaml
and ./data/media; SIGTERM cancels in-flight encodes cleanly.
This commit is contained in:
Esa Kataja
2026-06-21 17:08:32 +03:00
parent 3170f3bbb5
commit ef52d7856c
3 changed files with 41 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
services:
videnc:
build: .
container_name: videnc-vibe
restart: unless-stopped
volumes:
- ./data/config.yaml:/config/config.yaml:ro # your config — paths inside must point at /data/*
- ./data/media:/data # holds input/ output/ originals/ failed/ work/ + logs
# Uncomment to delete originals after a successful encode (appends -d to the entrypoint):
# command: ["-d"]