1
0
Fork
You've already forked predalert
0

Containerization #4

Merged
papiris merged 4 commits from feat-containerize into main 2024年05月24日 13:18:54 +02:00
papiris commented 2024年05月24日 13:16:34 +02:00 (Migrated from gitlab.com)
Copy link

What

Container with accelerated video decoding and ML.
From the git root, it can be run using:

$ podman run -v ./config:/config:z \
-v ./path/to/nirvana:/over/the/rainbow:z \
-v ./models:/models:z \
-p 8443:8443 \
--security-opt=label=disable \
--device=nvidia.com/gpu=all \
predalert

or simply podman-compose up.

PS: Users of podman need to pass the config dir,
and all other relative-path dirs, with a leading ./

Why

podman-compose makes running containers programmatically
a breeze, and is a great orchestration tool.
It also offers separation between app and host.

# What Container with accelerated video decoding and ML. From the git root, it can be run using: ``` $ podman run -v ./config:/config:z \ -v ./path/to/nirvana:/over/the/rainbow:z \ -v ./models:/models:z \ -p 8443:8443 \ --security-opt=label=disable \ --device=nvidia.com/gpu=all \ predalert ``` or simply `podman-compose up`. PS: Users of podman need to pass the config dir, and all other relative-path dirs, with a leading ./ # Why podman-compose makes running containers programmatically a breeze, and is a great orchestration tool. It also offers separation between app and host.
papiris commented 2024年05月24日 13:16:34 +02:00 (Migrated from gitlab.com)
Copy link

assigned to @papiris

assigned to @papiris
papiris commented 2024年05月24日 13:16:55 +02:00 (Migrated from gitlab.com)
Copy link

changed title from {-analytics: fix forgotten update of config handling-} to {+Containerization+}

changed title from **{-analytics: fix forgotten update of config handling-}** to **{+Containerization+}**
papiris (Migrated from gitlab.com) merged commit ed42067e1f into main 2024年05月24日 13:18:54 +02:00
papiris commented 2024年05月24日 13:18:55 +02:00 (Migrated from gitlab.com)
Copy link

mentioned in commit ed42067e1f

mentioned in commit ed42067e1fbb01c817413b7607633ff9a14b7cc3
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
papiris/predalert!4
Reference in a new issue
papiris/predalert
No description provided.
Delete branch "feat-containerize"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?