Modify docker build setup

This commit is contained in:
Barzan Hayati 2025-09-23 00:12:06 +00:00
parent 08126ec17f
commit 63fe011b6e
5 changed files with 9 additions and 5 deletions

3
.env Normal file
View File

@ -0,0 +1,3 @@
# .env file
TAG=v1.0.0
IMAGE_NAME=deepstream-pose-face

View File

@ -17,7 +17,7 @@
"host": "0.0.0.0"
},
"pgie_batch_size": 16,
"threshold_body_detection": 0.05,
"threshold_body_detection": 0.5,
"inferserver_pgie_config_file": "../data/inferserver/primary_detector_config.txt",
"PGIE_NET_WIDTH": 640,
"PGIE_NET_HEIGHT": 640,
@ -67,6 +67,6 @@
"topic_redis": "redis_stream"
},
"compression_coefficient": 0.125,
"write_full_frame_to_disk": true,
"write_cropped_objects_to_disk": true
"write_full_frame_to_disk": false,
"write_cropped_objects_to_disk": false
}

View File

@ -1,7 +1,7 @@
[message-broker]
# Redis-specific options
hostname=localhost
port=9736
port=6379
streamsize=10000
payloadkey=metadata
consumergroup=mygroup

View File

@ -11,6 +11,7 @@ services:
command: ["redis-server", "/usr/local/etc/redis/redis.conf"]
deepstream-app:
build: .
image: ${IMAGE_NAME}:${TAG}
depends_on:
- redis
container_name: deepstream_with_triton

View File

@ -1,2 +1,2 @@
port 9736
port 6379
bind 0.0.0.0