docker-compose.yml 432 B

1234567891011121314151617181920
  1. version: '2'
  2. services:
  3. layoutv2:
  4. hostname: layoutv2
  5. container_name: layoutv2
  6. restart: always
  7. image: registry.cn-hangzhou.aliyuncs.com/sxtest/layout:gpu
  8. privileged: true
  9. ipc: host
  10. tty: true
  11. working_dir: /workspace
  12. ports:
  13. - '18089:8080'
  14. # volumes:
  15. # - ./:/workspace
  16. # deploy:
  17. # resources:
  18. # reservations:
  19. # devices:
  20. # - capabilities: [gpu]