2024-08-25 21:55:08 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
|
2024-09-16 15:04:52 +02:00
|
|
|
tf-fastapi-server:
|
2024-08-25 21:55:08 +02:00
|
|
|
|
2024-09-16 15:04:52 +02:00
|
|
|
build: ../build/tf-fastapi-server
|
|
|
|
container_name: tf-fastapi-server
|
2024-08-25 21:55:08 +02:00
|
|
|
restart: always
|
2024-09-12 17:26:31 +02:00
|
|
|
volumes:
|
2024-09-16 15:04:52 +02:00
|
|
|
- ../build/tf-fastapi-server/Prototyp:/home/pluritonian/Prototyp
|
2024-08-25 21:55:08 +02:00
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
reservations:
|
|
|
|
devices:
|
|
|
|
- capabilities: [gpu]
|
|
|
|
networks:
|
|
|
|
- protoRustNet
|
|
|
|
|
2024-09-16 15:04:52 +02:00
|
|
|
deb-rust-interface:
|
|
|
|
build: ../build/deb-rust-interface
|
|
|
|
container_name: deb-rust-interface
|
2024-08-25 21:55:08 +02:00
|
|
|
restart: always
|
2024-09-12 17:26:31 +02:00
|
|
|
volumes:
|
2024-09-16 15:04:52 +02:00
|
|
|
- ../build/deb-rust-interface/rust-proto-interface:/opt/rust-proto-interface
|
2024-08-25 21:55:08 +02:00
|
|
|
environment:
|
|
|
|
- RUST_BACKTRACE=full
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:1030:7050"
|
|
|
|
networks:
|
|
|
|
- protoRustNet
|
|
|
|
|
|
|
|
|
2024-10-06 17:09:46 +02:00
|
|
|
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
|
|
|
|
|
2024-08-25 21:55:08 +02:00
|
|
|
networks:
|
|
|
|
protoRustNet:
|
|
|
|
driver: bridge
|