feat: make archive mount writable and raise upload cap (REQ-178)
This commit is contained in:
1 parent
15cc9777b9
commit
0c8eeac8a5
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -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"
|
||||
|
||||
+3
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user