chore: add max-file: 3

This commit is contained in:
Sun-ZhenXing
2025-10-30 19:50:46 +08:00
parent c8b9335e74
commit 843ebc24a1
13 changed files with 6 additions and 16 deletions

View File

@@ -8,7 +8,7 @@ x-default: &default
x-mineru-vllm: &mineru-vllm
<<: *default
image: ${MINERU_DOCKER_IMAGE:-alexsuntop/mineru:2.5.4}
image: ${MINERU_DOCKER_IMAGE:-alexsuntop/mineru:2.6.2}
build:
context: .
dockerfile: Dockerfile
@@ -22,11 +22,11 @@ x-mineru-vllm: &mineru-vllm
deploy:
resources:
limits:
cpus: '16.0'
memory: 32G
reservations:
cpus: '8.0'
memory: 16G
reservations:
cpus: '4.0'
memory: 8G
devices:
- driver: nvidia
device_ids: [ '0' ]

View File

@@ -4,6 +4,7 @@ x-default: &default
driver: json-file
options:
max-size: 100m
max-file: "3"
x-mongo: &mongo
<<: *default
@@ -105,4 +106,3 @@ services:
volumes:
mongo_data:
driver: local

View File

@@ -4,6 +4,7 @@ x-default: &default
driver: json-file
options:
max-size: 100m
max-file: "3"
x-mongo: &mongo
<<: *default