|
|
services:
|
|
|
|
rust-proto-fastapi-server:
|
|
|
|
build: ../build/rust-proto-fastapi-server
|
|
container_name: rust-proto-fastapi-server
|
|
restart: always
|
|
volumes:
|
|
- ../build/rust-proto-fastapi-server/Prototyp:/home/pluritonian/Prototyp
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- capabilities: [gpu]
|
|
networks:
|
|
- protoRustNet
|
|
|
|
deb-rust-proto-interface:
|
|
build: ../build/deb-rust-proto-interface
|
|
container_name: deb-rust-proto-interface
|
|
restart: always
|
|
volumes:
|
|
- ../build/deb-rust-proto-interface/rust-proto-interface:/opt/rust-proto-interface
|
|
environment:
|
|
- RUST_BACKTRACE=full
|
|
ports:
|
|
- "127.0.0.1:1030:7050"
|
|
networks:
|
|
- protoRustNet
|
|
|
|
|
|
networks:
|
|
protoRustNet:
|
|
driver: bridge
|