Skip to content

redhat-manufacturing/demo-people-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

People_Count_Monolith

Getting Started

  • Podman introduction
  • Podman storage: we use the podman storage as a backup to our logs and database.

Here are the 3 ways to start the pipeline

1. Run Quay Image

No need to clone github repo

 $ podman login quay.io
 $ podman volume create people-count-storage
 $ podman pull quay.io/guiseai_retail/people-count:ob_1.0.1
 $ podman run --name people-count-container \
  -p 5041:5041 \
  -v people-count-storage:/app/ \
  quay.io/guiseai_retail/people-count:ob_1.0.1

2. Build image locally and run it using podman commands

clone the repo

 $ git clone https://github.com/GuiseAI/people-count-monolith.git
 $ cd people-count-monolith
 $ git checkout <branch_name>
  1. build the image and create storage
 $ podman build -t people-count .
 $ podman volume create people-count-storage
  1. run the image
 podman run --name people-count-container \
  -p 5041:5041 \
  -v people-count-storage:/app/ \
  -d people-count

3. Build and run the image using podman-compose:

clone the repo

 $ git clone https://github.com/GuiseAI/people-count-monolith.git
 $ cd people-count-monolith
 $ git checkout <branch_name>

To start

 podman-compose up

To stop

 podman-compose down

To run a video

Once the image is running get the Container ID

 podman ps

Copy the Video in the container

 podman cp <videofile> <container_id>:/app/

From the Web UI, enter the video file name in the IP Camera input section

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages