diff --git a/docker-compose.yml b/docker-compose.yml index e52d3ea..e4f9aba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: