version: '3.1' services: pluriton: build: ../build/tfgpu-pluriton container_name: pluriton_python_app restart: always deploy: resources: reservations: devices: - capabilities: [gpu] networks: - pluritonNet deb-rust-pluriton-interface: build: ../build/deb-rust-pluriton-interface container_name: deb-rust-pluriton-interface restart: always environment: - RUST_BACKTRACE=full ports: - "127.0.0.1:1020:7050" networks: - pluritonNet networks: pluritonNet: driver: bridge