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:-}
|
WSL_DISTRO_NAME: ${WSL_DISTRO_NAME:-}
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
- ${VIDEO_ARCHIVE_HOST:-./data/archive}:/videos:ro
|
- ${VIDEO_ARCHIVE_HOST:-./data/archive}:/videos
|
||||||
- hf-cache:/root/.cache/huggingface
|
- hf-cache:/root/.cache/huggingface
|
||||||
ports:
|
ports:
|
||||||
- "${API_PORT:-9010}:8000"
|
- "${API_PORT:-9010}:8000"
|
||||||
|
|||||||
+3
-3
@@ -2,9 +2,9 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
# A base model upload is a whole .pt checkpoint; the default 1 MB would
|
# Uploads are multi-GB: whole .pt checkpoints and multi-GB videos; the
|
||||||
# reject every one of them.
|
# default 1 MB would reject every one of them.
|
||||||
client_max_body_size 512m;
|
client_max_body_size 20g;
|
||||||
|
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|||||||
Reference in new issue
Block a user