gcgarner / IOTstack

docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.51k stars 584 forks source link

Feature Request - Containers #14

Open gcgarner opened 4 years ago

gcgarner commented 4 years ago
sebi5361 commented 4 years ago

Dear Graham, Thank you for this very nice work. Could you add to the stack tasmoadmin?

gcgarner commented 4 years ago

@sebi5361 I've added it to the list

sebi5361 commented 4 years ago

@gcgarner: Maybe you could add zigbee2mqtt as well to the list?!

sebi5361 commented 4 years ago

Maybe you could add EspruinoHub to the list as well? It is a BLE2MQTT bridge (see source code). The container on Docker Hub was lastly updated 2 years ago. As I am not familiar with docker, I am unable to tell if that container must be build again to get updated, or if this process is done automatically when fetching the container (the latest version of the source code seems to be 3-month old only). Here is described the process to build that container.

sebi5361 commented 4 years ago

And maybe Pi-hole!?

denonbw commented 4 years ago

@gcgarner: Maybe you could add zigbee2mqtt as well to the list?!

zigbee2mqtt would be great!

gcgarner commented 4 years ago

zigbee2mqtt, EspruinioHub and Pi-hole added to list

grzegorz189 commented 4 years ago

maybe also domoticz thanks ?

happytm commented 4 years ago

I wanted to add RPIEasy to this list.

Thanks

DeuceCode commented 4 years ago

How about adding Gitea, a lightweight self-hosted git service to the list?

Thanks Graham

gcgarner commented 4 years ago

@DeuceCode Gitea maybe a challenge for the Pi, it relies on mariadb which isn't available for the armhf architecture (as an official image). In the project roadmap I plan to detect the host architecture and tailor the menu to what can and can't run.

1337-44 commented 4 years ago

rtl_433 with easy MQTT bridge would be nice

gcgarner commented 4 years ago

@1337-44 I ordered a SDR yesterday to test with rlt_433, hopefully will have a stable image next week

DeuceCode commented 4 years ago

@gcgarner I was under the impression that Gitea can run against a several databases, from the Gitea docs MySQL, PostgreSQL, SQLite3, MSSQL and TiDB with configuration done via environment variables. The most applicable here being PostgreSQL and SQLite3. I think SQLite would be sufficient for a few small repositories, accessed my 1 or 2 users.

Here is an interesting comparison of GitBucket, Gogs, Gitea and GitLab with PostgreSQL and SQLite on the Pi 3B.

gcgarner commented 4 years ago

@DeuceCode Thanks for the link, I only had a quick look on your first request, should have looked harder. I'll add it to the list. If it can use postgresql that would be ideal.

I'm working on integrating an SQLite db with phpmyadmin

simonlock commented 4 years ago

IObroker would be a useful addition.

sebi5361 commented 4 years ago

Hi Graham. Could you add letsencrypt to the list for the stack?

sebi5361 commented 4 years ago

Wouldn't it be possible to install OpenVPN based on a container rather than doing a native install? Maybe it can be added to the list as well.

gcgarner commented 4 years ago

@DeuceCode I've made a branch containing Gitea. I would appreciate if you could try it out. I had to modify their Dockerfile to get it to work. Warning it takes quite a while to build

kubawolanin commented 4 years ago

For the Z-Wave support, Zwave2Mqtt looks like a nice candidate. Should be easy to integrate as well.

I would also suggest adding broadlink-mqtt to the list, since it's a quite popular device system among IoT enthusiasts.

simonlock commented 4 years ago

Hi Graham please could you include homebridge? It's available for the Pi now.

image: oznu/homebridge:raspberry-pi

diffficult commented 4 years ago

@gcgarner

great repo, found it while searching for complex stacks to learn and also pick ideas on what else should I add to my own. Was bummed to not see Traefik anywherte, since I was having trouble to get it working with unifi/plex/flexget/transmission.

Would love to see your take on it and perhaps will make it easier for the "reverse proxy" feature you were looking forward to add.

sebi5361 commented 4 years ago

Graphviz together with ImageMagick would be nice as well. (To follow Andreas Spiess aka @SensorsIOT latest video.)

will-mader commented 4 years ago

@gcgarner thanks for all you have put together here, it is an awesome repo. Is it possible to add NEMSlinux on this build?

happytm commented 4 years ago

I will appreciate if you add this server as docker package. The link to github page is below:

https://github.com/mpromonet/webrtc-streamer

Thanks.

jaworek commented 4 years ago

Awesome project. Could you add Mozilla IOT project to the list? https://github.com/mozilla-iot/gateway-docker

EDIT: I just noticed that it's already added. Sorry for overlooking. It is not listed on the list of docker stack. I'll make a PR with updated list.

Roberto6969 commented 4 years ago

Awesome work - thank you! I understand it is a bit specific but this product (UNMS) https://github.com/Nico640/docker-unms works excellent and it is maintaned regulary for a long time. Would you be so kind and add it to the project?

will-mader commented 4 years ago

@gcgarner thanks for all you have put together here, it is an awesome repo. Is it possible to add NEMSlinux on this build?

Here is the installation guide I have found. https://docs.nemslinux.com/supported_platforms/docker#access_nems_linux_cli

JaviElio commented 4 years ago

Great work what you are doing here! To complete the home automation system, I suggest to add a voice assistant like Rhasspy. It is open source and runs locally.

Thanks a lot!

filiporlo commented 4 years ago

Great work! To complete the pi hole, I think that add a cloudflared to provide DNS-over-HTTPS will be a nice feature. PS: I can't connect this with pi hole

crashdown79 commented 4 years ago

What about https://containo.us/traefik/ should be a cool addition and helps securing the rest.

gcgarner commented 4 years ago

Hi Guys

This festive season has been really busy for me and I haven't had any time to get to any of the requests yet. I'm travelling for the next two weeks so I might get some time in the evenings to do some testing over ssh.

Ive got quite a few plans to improve the deployment process for the stack including an new menu structure to divide up containers by type to remove the clutter

On Mon, 6 Jan 2020 at 18:29, crashdown79 notifications@github.com wrote:

What about https://containo.us/traefik/ should be a cool addition and helps securing the rest.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gcgarner/IOTstack/issues/14?email_source=notifications&email_token=ALECSYL2R2QY7EZ7PWCJLQDQ4NL7NA5CNFSM4JFWCB5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIF66IQ#issuecomment-571207458, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALECSYMV35AQX637WAH52ELQ4NL7NANCNFSM4JFWCB5A .

MatsK commented 4 years ago

A standard web (Apache) that could host jump page, instructions and help for the IOTstack.

vivian-ng commented 4 years ago

@gcgarner Thank you for the great work! Will you be adding SSL to Nextcloud anytime soon? I think Nextcloud already has some example docker configurations with SSL using nginx-proxy here. I am not really good with docker so I am not sure how to set it up, maybe the example configurations can give you some hint when you find time to add this.

ei23com commented 4 years ago

@gcgarner Thank you for the great work! Will you be adding SSL to Nextcloud anytime soon? I think Nextcloud already has some example docker configurations with SSL using nginx-proxy here. I am not really good with docker so I am not sure how to set it up, maybe the example configurations can give you some hint when you find time to add this.

Try Nextcloud-Pi instead, the process of generating SSL-Certs with Let'sEncrypt is automated there. Unless the majority of IOTStack user are Pi users, maybe the container could change to NextcloudPi anyway...?!

Here's the tutorial for Docker: https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/

BartRoger commented 4 years ago

Hi Graham, Thank you for sharing this nice project! The full TICK-stack might be handy for quite some folks, any chances of adding Telegraf, Chronograf & Kapacitor? To the already available influxDB? Regards!

happytm commented 4 years ago

WebThings Gateway linked below would be nice addition to IOTstack. It simplify secured Home Automation without cloud.

https://hub.docker.com/r/mozillaiot/gateway

Thanks.

m4rc77 commented 4 years ago

Maybe add https://heimdall.site/ or some other tool to make a nice landing page / entry point for the whole system? At least it would support docker nicely (https://hub.docker.com/r/linuxserver/heimdall/) but I have not yet tested/used it. Kind regards!

MatsK commented 4 years ago

I have been playing around with httpd-2.4, javascript and this index.html

The advantage with the script is that the URL points just to the port independent of the IP address to the IoTstacks server.

A bit less complex than heimdall

index.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>IOTstack help page</title>
    <link rel="stylesheet" href="iotstack.css">
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
    <link rel="manifest" href="/manifest.json">
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
    <meta name="theme-color" content="#ffffff">
<script>
   function setHref() {
      document.getElementById('modify-me').href = window.location.protocol + "//" + window.location.hostname + ":8080/other/";
   }
</script>
</head>

<body>
    <h1>IOTstack help page</h1>   

    <h2>Web management</h2>

    <table>
      <tr>
        <td><h3>Service</h3></td>
        <td><h3>URL</h3></td>
      </tr>
      <tr>
        <td><p>Portainer</p></td>
        <td><p><a href="" onclick="javascript:event.target.port=9000" target="_blank">:9000</a></p></td>
      </tr>
      <tr>
        <td><p>NodeRed</p></td>
        <td><p><a href="" onclick="javascript:event.target.port=1880" target="_blank">:1880</a></p></td>
      </tr>
      <tr>
        <td><p>TasmoAdmin</p></td>
        <td><p><a href="" onclick="javascript:event.target.port=8088" target="_blank">:8088</a></p></td>
      </tr>
      <tr>
        <td><p>Adminer</p></td>
        <td><p><a href="" onclick="javascript:event.target.port=8088" target="_blank">:8088</a></p></td>
      </tr>
      <tr>
        <td><p>PiHole</p></td>
        <td><p><a href="" onclick="javascript:event.target.port=8089" target="_blank">:8089</a></p></td>
      </tr>
      <tr>
        <td><p>Grafana</p></td>
        <td><p><a href="" onclick="javascript:event.target.port=3000" target="_blank">:3000</a></p></td>
      </tr>
      <tr>
        <td><p>PiHole</p></td>
        <td><p><a href="/admin/" onclick="javascript:event.target.port=8089" target="_blank">:8089/admin</a></p></td>
      </tr>
    </table>

    <h2>Alias commands</h2>

    <table>
      <tr>
        <td><h3>Alias</h3></td>
        <td><h3>Description</h3></td>
      </tr>
      <tr>
        <td><code>iotstack_up</code></td>
        <td><p>Start the IOTstack</p></td>
      </tr>
      <tr>
        <td><code>iotstack_down</code></td>
        <td><p>Shut down the IOTstack</p></td>
      </tr>
      <tr>
        <td><code>iotstack_start</code></td>
        <td><p> the IOTstack</p></td>
      </tr>
      <tr>
        <td><code>iotstack_stop</code></td>
        <td><p> the IOTstack</p></td>
      </tr>
      <tr>
        <td><code>iotstack_update</code></td>
        <td><p> the IOTstack</p></td>
      </tr>
      <tr>
        <td><code>iotstack_build</code></td>
        <td><p> the IOTstack</p></td>
      </tr>
    </table> 

<br />

<h3>IOT Stack source on GitHub</h3>

<p><a href="https://github.com/gcgarner/IOTstack"  target="_blank">https://github.com/gcgarner/IOTstack</a></p>

</body>
</html>
batamire commented 3 years ago

+1 for Let's Encrypt