homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 241 forks source link

Homebridge as a docker service without compose? #421

Closed bbum closed 2 years ago

bbum commented 2 years ago

This is a documentation request (or an example request).

I would like to see an example of how to run Homebridge in Docker without using the docker compose recipe.

Something like:

docker run --net=host --name=homebridge -e PUID=1001 -e PGID=1001 -e TZ=America/Los_Angeles -v /home/bobdobbs/.homebridge-dock:/homebridge oznu/homebridge

Note that the above may easily be wrong (in fact, it is-- it starts it in the terminal and then blocks.... I need it as a service that survives reboot). I don't know what I'm doing. Which is why I'm asking for an example written by someone who does. :)

rweckhoff commented 2 years ago

docker run -d --name=homebridge --restart=always —-network=host \

-e PUID=1000 \

-e PGID=1000 \

-e HOMEBRIDGE CONFIG UI=1 \

-e HOMEBRIDGE_CONFIG_UI_PORT=8581 \

-e TZ=America/Phoenix \

-v /share/Docker/homebridge:/homebridge \

oznu/homebridge:ubuntu

On Sat, Feb 12, 2022 at 7:21 PM bbum @.***> wrote:

This is a documentation request (or an example request).

I would like to see an example of how to run Homebridge in Docker without using the docker compose recipe.

Something like:

docker run --net=host --name=homebridge -e PUID=1001 -e PGID=1001 -e TZ=America/Los_Angeles -v /home/bobdobbs/.homebridge-dock:/homebridge oznu/homebridge

Note that the above may easily be wrong (in fact, it is-- it starts it in the terminal and then blocks.... I need it as a service that survives reboot). I don't know what I'm doing. Which is why I'm asking for an example written by someone who does. :)

— Reply to this email directly, view it on GitHub https://github.com/oznu/docker-homebridge/issues/421, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTOL4REKKTH7J65E3OB66TU24IS7ANCNFSM5OH73SYA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.