Updated Compose
This commit is contained in:
parent
abd46181eb
commit
a4f10bfe66
1 changed files with 13 additions and 14 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue