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: volumes:
arxiv_data: arxiv_data:
driver: local

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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