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