Skip to content

Download videos from almost any website. Lightweight, self-hosted media downloader with a clean web UI.

HTML

Use named volume and fix gunicorn worker config

jouls0217a9cb2f102233
diff --git a/Dockerfile b/Dockerfile
index 1e4019d..335a41c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,4 +21,4 @@ USER reclip
EXPOSE 8899
-CMD ["gunicorn", "-b", "0.0.0.0:8899", "-w", "2", "--timeout", "600", "app:app"]
+CMD ["gunicorn", "-b", "0.0.0.0:8899", "-w", "1", "--threads", "4", "--timeout", "600", "--access-logfile", "-", "app:app"]
diff --git a/docker-compose.yml b/docker-compose.yml
index 0b20fe6..19404ec 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -6,5 +6,8 @@ services:
ports:
- "8899:8899"
volumes:
- - ./downloads:/app/downloads
+ - reclip-downloads:/app/downloads
restart: unless-stopped
+
+volumes:
+ reclip-downloads: