composeee added

This commit is contained in:
hardik22317
2021-06-25 15:27:52 +05:30
parent d9f371f32c
commit 047ec10e0d
6 changed files with 75 additions and 14 deletions
+20
View File
@@ -0,0 +1,20 @@
version: '3.7'
services:
baggageai-server-tkdnn:
image: baggageai:server-tkdnn
ports:
- 8080:8080
volumes:
- BAI_logs:/home/baggageai/log
environment:
- NVIDIA_VISIBLE_DEVICES=all
restart: on-failure
deploy:
replicas: 1 #Keep replicas 1 only for GPU
restart_policy:
condition: on-failure
max_attempts: 3
volumes:
BAI_logs:
external: true