Cyberlaywer/compose/docker-compose.yml
2023-03-06 15:36:57 +01:00

33 lines
1,013 B
YAML

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