diff --git a/README.md b/README.md index ff5f405..11b2cc3 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ To enable it just go to the settings page and enable the **Enable video/audio fo - As before server address is not specified or simply yt-dlp process takes a lot of time to fire up. (Forking yt-dlp isn't fast especially if you have a lower-end/low-power NAS/server/desktop where the server is running) ## [Docker](https://github.com/marcopeocchi/yt-dlp-web-ui/pkgs/container/yt-dlp-web-ui) installation +## Docker run ```sh docker pull marcobaobao/yt-dlp-webui docker run -d -p 3033:3033 -v :/downloads marcobaobao/yt-dlp-webui @@ -135,6 +136,20 @@ docker run -d \ --qs 2 ``` +### Docker Compose +```yaml +services: + yt-dlp-webui: + image: marcobaobao/yt-dlp-webui + ports: + - 3033:3033 + volumes: + - :/downloads # replace with a directory on your host system + healthcheck: + test: curl -f http://localhost:3033 || exit 1 + restart: unless-stopped +``` + ## [Prebuilt binaries](https://github.com/marcopeocchi/yt-dlp-web-ui/releases) installation ```sh diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..9f93d02 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +services: + yt-dlp-webui: + image: marcobaobao/yt-dlp-webui + ports: + - 3033:3033 + volumes: + - :/downloads # replace with a directory on your host system + healthcheck: + test: curl -f http://localhost:3033 || exit 1 + restart: unless-stopped