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