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

@@ -35,4 +35,3 @@ services:
volumes:
arxiv_data:
driver: local

View File

@@ -34,4 +34,3 @@ services:
volumes:
basic_memory_data:
driver: local

View File

@@ -67,8 +67,5 @@ services:
volumes:
grafana_data:
driver: local
grafana_config:
driver: local
grafana_logs:
driver: local

View File

@@ -34,4 +34,3 @@ services:
volumes:
memory_data:
driver: local

View File

@@ -65,6 +65,4 @@ services:
volumes:
mongodb_data:
driver: local
mongodb_config:
driver: local

View File

@@ -15,7 +15,6 @@ services:
- TZ=${TZ:-UTC}
ports:
- "${PLAYWRIGHT_PORT_OVERRIDE:-8000}:8000"
# 如果需要访问本地文件,可以挂载卷
volumes:
- playwright_data:/app/data
healthcheck:
@@ -32,11 +31,9 @@ services:
reservations:
cpus: '0.5'
memory: 512M
# Playwright 需要额外的权限来运行浏览器
security_opt:
- seccomp:unconfined
shm_size: '2gb'
volumes:
playwright_data:
driver: local

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