123456789101112131415161718192021 |
- version: '2'
- services:
- ppocr:
- hostname: ppocr
- container_name: ppocr
- restart: always
- image: registry.cn-hangzhou.aliyuncs.com/sxtest/ppocr:gpu
- privileged: true
- ipc: host
- tty: true
- working_dir: /workspace
- ports:
- - '8077:8080'
- - '2277:22'
- volumes:
- - ./:/workspace
- # deploy:
- # resources:
- # reservations:
- # devices:
- # - capabilities: [gpu]
|