Luligu / matterbridge-zigbee2mqtt

Matterbridge zigbee2mqtt plugin
https://github.com/Luligu/matterbridge-zigbee2mqtt/blob/main/README.md
Apache License 2.0
63 stars 8 forks source link

Docker installation #6

Closed KC-inDomus closed 5 months ago

KC-inDomus commented 5 months ago

Hi there, very interesting project. What about a Docker installation alternative?

Luligu commented 5 months ago

Hi thank you for your interest. I appreciate it. Yes sure in the future is possible. But I actually like the easy zero configuration solution. Now you install Matterbridge and the other plugins with a copy paste of the script in a few seconds and this for a lot of users is a great quality.

tammeryousef1006 commented 5 months ago

for me docker installation much way faster and easier to manage because im not much familiar with npm as im just end user for testing

Luligu commented 5 months ago

Hi, I added the guidelines for systemctl in the main Matterbridge repository I paste here in case you are interested:

Advanced configuration

Run matterbridge as a daemon with systemctl (Linux only)

Create a systemctl configuration file for Matterbridge

sudo nano /etc/systemd/system/matterbridge.service

Add the following to this file, replacing twice USER with your user name (e.g. pi):

[Unit]
Description=matterbridge
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/matterbridge -bridge
WorkingDirectory=/home/<USER>/Matterbridge
StandardOutput=inherit
StandardError=inherit
Restart=always
RestartSec=10s
User=<USER>

[Install]
WantedBy=multi-user.target

Start Matterbridge

sudo systemctl start matterbridge

Stop Matterbridge

sudo systemctl stop matterbridge

Show Matterbridge status

systemctl status matterbridge.service

View the log of Matterbridge

sudo journalctl -u matterbridge.service -f --output cat

Enable Matterbridge to start automatically on boot

sudo systemctl enable matterbridge.service

Disable Matterbridge to start automatically on boot

sudo systemctl disable matterbridge.service
KC-inDomus commented 5 months ago

thanks but... will wait for the docker image to come (if it will) :)

Luligu commented 4 months ago

Is almost ready... next release will have it.

KC-inDomus commented 4 months ago

Is almost ready... next release will have it.

Hi there! Any news about that? Can't look fw ☺️

tammeryousef1006 commented 4 months ago

Kindly check the updated matterbridge for both docker and docker-compose

https://github.com/Luligu/matterbridge