From 2c673690588e0e127cdb458ba01d32b233279339 Mon Sep 17 00:00:00 2001 From: Brian McGonagill Date: Thu, 12 Mar 2026 16:51:57 -0500 Subject: [PATCH] Update README with better docker information. --- README.md | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index c195c49..9d7b150 100644 --- a/README.md +++ b/README.md @@ -17,29 +17,28 @@ configurable media root for security. ## Quick start with Docker (recommended) -```bash -# 1. Build the image -docker build -t videopress . -# 2. Run — replace /your/video/path with the real path on your host -docker run -d \ +Step. 1. You have two options + A. Build the image + `docker build -t videopress .` + + B. Use the pre-built image + Already included in the `docker-compose.yml` file witht his project. + +Step 2. Run — replace `/your/video/path` with the real path on your host + A. Using `docker run`: + +```docker run -d \ --name videopress \ --restart unless-stopped \ -p 8080:8080 \ -v /your/video/path:/media \ videopress - -# 3. Open http://localhost:8080 ``` + B. Using Docker Compose + `docker compose up -d` -### With docker compose - -```bash -# Edit the volume path in docker-compose.yml (or export the env var): -export MEDIA_HOST_PATH=/your/video/path - -docker compose up -d -``` +Step 3. Open http://localhost:8080 ---