mirror of
https://github.com/motioneye-project/motioneye.git
synced 2026-03-02 22:57:06 -05:00
Expose video devices through docker #2437
Labels
No labels
Android app
Arch Linux
CI/CD
CSS
FreeBSD
HTML/HTTP
Home Assistant addon
JavaScript
Python
Raspberry Pi
Stale No Activity 60 Days
bug
code format
dependencies
dev branch
docker
documentation
duplicate
enhancement
feature
help wanted
i18n/l10n
invalid
legacy motionEye
meta
motion
motionEyeOS
notourproblem
python update
question
question
security
troubleshooting
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/motioneye#2437
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @Bluscream on GitHub (Sep 16, 2023).
The only thing that's bothering me is the fact that i have to manually add every single video device via cmdline. Can you make that a bit easier? Either expose all found vid devices to the docker container by default or make a script that can be run on the host that lists all video devices or just generates a new deploy cmd with them
Originally posted by @Bluscream in https://github.com/motioneye-project/motioneye/issues/1897#issuecomment-1721992301
@MichaIng commented on GitHub (Sep 16, 2023):
This is something which needs to be done at host level, hence is outside of the possibilities of the container image. But we could create a little script to get started, which e.g. creates a Docker Compose template, prints or runs a
docker runcommand which contains the needed video device mounts. There are already some here: https://github.com/motioneye-project/motioneye/tree/dev/dockerNot sure if the Docker Compose "override" is applied automatically if present? https://github.com/motioneye-project/motioneye/blob/dev/docker/docker-compose.override.yml
If so, we could add a script which just updates its video device entries. Or is there a way to achieve this with wildcards?