12345678910111213141516171819202122232425 |
- version: '3.8'
- services:
- backend:
- build: ./server
- restart: always
- ports:
- - 5000:5000
- volumes:
- - ./server/output:/app/output
- - ./server/config.yml:/app/config.yml
- - ./server/lemon_master:/app/lemon_master
- deploy:
- resources:
- reservations:
- devices:
- - driver: "nvidia"
- count: "all"
- capabilities: [ "gpu" ]
- networks:
- - ma-network
- tty: true
- networks:
- ma-network:
- driver: bridge
|