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