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 ---