added fixes for jpg

This commit is contained in:
2026-08-20 21:49:05 +02:00
parent 81717cb9a8
commit 2b5004a569
4 changed files with 10 additions and 6 deletions
+1 -4
View File
@@ -1,14 +1,11 @@
# Portainer: Stacks → Add stack → upload this file + Dockerfile/app.py/requirements.txt
# (Web editor alone can't build; use Git stack or pre-built image — see notes below.)
# Portainer-friendly: no build step. Load/push the image first, then paste this stack.
services:
resizer:
build: .
image: doorbell-resizer:latest
container_name: doorbell-resizer
ports:
- "8080:80"
environment:
# Reachable from the Portainer host (LAN IP or Docker DNS if same compose network)
FRIGATE_URL: http://10.0.1.197:5050/api/doorbell/latest.jpg?h=270
TARGET_WIDTH: "480"
JPEG_QUALITY: "40"