PluriTon/compose/docker-compose.yml
2021-10-18 18:22:03 +02:00

33 lines
986 B
YAML

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