added fixes for jpg
This commit is contained in:
+1
-4
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user