Cyberlaywer/compose/docker-compose.yml

34 lines
1,013 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:
2023-03-06 15:36:57 +01:00
cyberlaywer:
2021-09-24 15:13:03 +02:00
2023-03-06 15:36:57 +01:00
build: ../build/tfgpu-cyberlaywer
container_name: cyberlaywer_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:
2023-03-06 15:36:57 +01:00
- cyberlaywerNet
2021-10-18 18:22:03 +02:00
2023-03-06 15:36:57 +01:00
deb-rust-cyberlaywer-interface:
build: ../build/deb-rust-cyberlaywer-interface
container_name: deb-rust-cyberlaywer-interface
2021-10-18 18:22:03 +02:00
restart: always
environment:
- RUST_BACKTRACE=full
2021-09-24 15:13:03 +02:00
ports:
2023-03-06 15:36:57 +01:00
- "127.0.0.1:1030:7050"
2021-10-18 18:22:03 +02:00
networks:
2023-03-06 15:36:57 +01:00
- cyberlaywerNet
2021-10-18 18:22:03 +02:00
networks:
2023-03-06 15:36:57 +01:00
cyberlaywerNet:
2021-10-18 18:22:03 +02:00
driver: bridge