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