add api
This commit is contained in:
20
pdf_clean/docker-compose-api.yml
Normal file
20
pdf_clean/docker-compose-api.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
mineru_server:
|
||||
image: quincyqiang/mineru:0.3-models
|
||||
container_name: mineru_server
|
||||
ports:
|
||||
- "8888:8000"
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
runtime: nvidia
|
||||
environment:
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
stdin_open: true
|
||||
tty: true
|
||||
Reference in New Issue
Block a user