🔥 Removes Portainer & NetData from setup

This commit is contained in:
Franck Nijhof 2019-09-18 20:56:43 +02:00
parent 29efe2490d
commit 109cf1f923
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
4 changed files with 0 additions and 88 deletions

View file

@ -26,33 +26,6 @@ in a couple of minutes.
![Home Assistant](images/homeassistant.png)
This setup comes preloaded with [netdata][] and [Portainer][portainer] to
provide you even more insight into what is happening under the hood of your VM.
### Portainer
Portainer is a lightweight Docker management UI which allows you to easily
manage your Docker/Hass.io host.
It allows add-on developers to look at the logs of their add-on, or even
get a console into their running add-on, to allow for easy debugging issues.
![Portainer](images/portainer.png)
### netdata
netdata allows you to monitor your Docker containers, which Hass.io is built on.
Simple. Effective. Awesome!
Unparalleled real-time insight into everything happening on your systems,
applications and add-ons with stunning, interactive web dashboards and
powerful performance and health alarms.
This gives add-on developers detailed information about the performance and
resource usage of their add-ons.
![netdata](images/netdata.png)
## System requirements
This setup does not require a lot. Sure it does cost some CPU & memory, but
@ -123,14 +96,6 @@ will appear on your screen:
==> hassio: Home Assitant is running on the following links:
==> hassio: - http://172.28.128.11:8123
==> hassio: - http://192.168.1.2:8123
==> hassio:
==> hassio: Portainer is running on the following links:
==> hassio: - http://172.28.128.11:9000
==> hassio: - http://192.168.1.2:9000
==> hassio:
==> hassio: Netdata is providing awesome stats on these links:
==> hassio: - http://172.28.128.11:19999
==> hassio: - http://192.168.1.2:19999
==> hassio: =====================================================================
==> hassio:
==> hassio: Machine 'hassio' has a post `vagrant up` message. This is a message
@ -346,8 +311,6 @@ SOFTWARE.
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
[license-shield]: https://img.shields.io/github/license/hassio-addons/hassio-vagrant.svg
[maintenance-shield]: https://img.shields.io/maintenance/yes/2018.svg
[netdata]: https://my-netdata.io
[portainer]: https://portainer.io
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
[reddit]: https://reddit.com/r/homeassistant
[releases-shield]: https://img.shields.io/github/release/hassio-addons/hassio-vagrant.svg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

View file

@ -17,7 +17,6 @@ set -o pipefail # Return exit status of the last command in the pipe that failed
readonly EX_OK=0
readonly HASSIO_INSTALLER="https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh"
readonly DOCKER_DOWNLOAD="https://download.docker.com/linux"
readonly NETDATA_INSTALLER="https://my-netdata.io/kickstart-static64.sh"
readonly APT_REQUIREMENTS=(
apparmor-utils
apt-transport-https
@ -75,46 +74,6 @@ install_docker() {
usermod -aG docker ubuntu
}
# ------------------------------------------------------------------------------
# Installs and starts netdata
#
# Arguments:
# None
# Returns:
# None
# ------------------------------------------------------------------------------
install_netdata() {
curl -s "${NETDATA_INSTALLER}" > /tmp/kickstart-netdata.sh
bash /tmp/kickstart-netdata.sh --dont-wait
rm /tmp/kickstart-netdata.sh
}
# ------------------------------------------------------------------------------
# Installs and starts Portainer
#
# Arguments:
# None
# Returns:
# None
# ------------------------------------------------------------------------------
install_portainer() {
mkdir -p /usr/share/portainer
docker pull portainer/portainer:latest
docker create \
--name=portainer \
--restart=always \
-v /usr/share/portainer:/data \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 9000:9000 \
portainer/portainer \
-H unix:///var/run/docker.sock \
--no-auth
docker start portainer
}
# ------------------------------------------------------------------------------
# Installs and starts Hass.io
#
@ -152,14 +111,6 @@ show_post_up_message() {
echo ' Home Assistant is running on the following links:'
echo " - http://${ip_private}:8123"
echo " - http://${ip_public}:8123"
echo ''
echo ' Portainer is running on the following links:'
echo " - http://${ip_private}:9000"
echo " - http://${ip_public}:9000"
echo ''
echo ' Netdata is providing awesome stats on these links:'
echo " - http://${ip_private}:19999"
echo " - http://${ip_public}:19999"
echo '====================================================================='
}
@ -169,8 +120,6 @@ show_post_up_message() {
main() {
install_requirements
install_docker
install_netdata
install_portainer
install_hassio
show_post_up_message
exit "${EX_OK}"