From 0c8eeac8a5c6fe3ef2bbcd5540161853f5e03e35 Mon Sep 17 00:00:00 2001 From: Andrew-AAAA Date: Tue, 29 Sep 2026 09:02:08 +0700 Subject: [PATCH] feat: make archive mount writable and raise upload cap (REQ-178) --- docker-compose.yml | 2 +- frontend/nginx.conf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 75f9b99..b48b480 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: WSL_DISTRO_NAME: ${WSL_DISTRO_NAME:-} volumes: - ./data:/data - - ${VIDEO_ARCHIVE_HOST:-./data/archive}:/videos:ro + - ${VIDEO_ARCHIVE_HOST:-./data/archive}:/videos - hf-cache:/root/.cache/huggingface ports: - "${API_PORT:-9010}:8000" diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 53afb01..3041f1d 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -2,9 +2,9 @@ server { listen 80; server_name _; - # A base model upload is a whole .pt checkpoint; the default 1 MB would - # reject every one of them. - client_max_body_size 512m; + # Uploads are multi-GB: whole .pt checkpoints and multi-GB videos; the + # default 1 MB would reject every one of them. + client_max_body_size 20g; root /usr/share/nginx/html; index index.html;