13 lines
371 B
YAML
13 lines
371 B
YAML
services:
|
|
ffmpeg-archive:
|
|
build: .
|
|
container_name: ffmpeg-archive
|
|
environment:
|
|
- INPUT=${INPUT:-rtsp://your-stream-url}
|
|
# uses strftime for naming
|
|
- OUTPUT=${OUTPUT:-/output/%Y-%m-%d_%H-%M-%S.mkv}
|
|
- PUID=${PUID:-1000}
|
|
- PGID=${PGID:-1000}
|
|
volumes:
|
|
- ${RECORDINGS_DIR:-./recordings}:/output
|
|
restart: unless-stopped |