Updated Compose

This commit is contained in:
Brian McGonagill 2026-03-09 19:48:00 -05:00
parent abd46181eb
commit a4f10bfe66

View file

@ -13,15 +13,13 @@
services:
videopress:
build:
context: .
dockerfile: Dockerfile
# build:
# context: .
# dockerfile: Dockerfile
# ── Alternatively, use a pre-built image: ───────────────────────────────
# image: videopress:latest
image: bmcgonag/videopress:latest
container_name: videopress
restart: unless-stopped
# ── Port mapping ─────────────────────────────────────────────────────────
@ -59,14 +57,15 @@ services:
# ── Resource limits (optional — uncomment to enable) ─────────────────────
# Compressing large video files is CPU-intensive. Limits prevent the
# container from starving other workloads on the host.
# deploy:
# resources:
# limits:
# cpus: '4'
# memory: 2G
# reservations:
# cpus: '1'
# memory: 512M
# Feel free to comment out this whole section if youw ant it to run full blast.
deploy:
resources:
limits:
cpus: '4'
memory: 2G
reservations:
cpus: '1'
memory: 512M
# ── Health check ──────────────────────────────────────────────────────────
healthcheck: