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