PluriTon/compose/docker-compose.yml

34 lines
986 B
YAML
Raw Normal View History

2021-10-18 18:22:03 +02:00
version: '3.1'
2021-09-24 15:13:03 +02:00
services:
2021-10-18 18:22:03 +02:00
pluriton:
2021-09-24 15:13:03 +02:00
2021-10-18 18:22:03 +02:00
build: ../build/tfgpu-pluriton
container_name: pluriton_python_app
2021-09-24 15:13:03 +02:00
restart: always
2021-10-18 18:22:03 +02:00
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
2021-09-24 15:13:03 +02:00
ports:
2021-10-18 18:22:03 +02:00
- "127.0.0.1:1020:7050"
networks:
- pluritonNet
networks:
pluritonNet:
driver: bridge