mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-28 02:06:04 +02:00
add heimdall
This commit is contained in:
@@ -20,6 +20,9 @@ https://github.com/petersendev/hassio-addons
|
|||||||
### [emby](emby/)
|
### [emby](emby/)
|
||||||
A Free Software Media System that puts you in control of managing and streaming your media.
|
A Free Software Media System that puts you in control of managing and streaming your media.
|
||||||
|
|
||||||
|
### [heimdall](heimdall/)
|
||||||
|
Application Dashboard
|
||||||
|
|
||||||
### [hydra2](hydra2/)
|
### [hydra2](hydra2/)
|
||||||
Meta search application for NZB indexers
|
Meta search application for NZB indexers
|
||||||
|
|
||||||
|
|||||||
@@ -77,3 +77,6 @@ stages:
|
|||||||
- addon: jellyfin
|
- addon: jellyfin
|
||||||
jobName: jellyfin
|
jobName: jellyfin
|
||||||
arch: '--armhf --amd64 --aarch64'
|
arch: '--armhf --amd64 --aarch64'
|
||||||
|
- addon: heimdall
|
||||||
|
jobName: heimdall
|
||||||
|
arch: '--armhf --amd64 --aarch64'
|
||||||
|
|||||||
3
heimdall/CHANGELOG.md
Normal file
3
heimdall/CHANGELOG.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.1.0
|
||||||
|
|
||||||
|
- heimdall 2.2.2 (linuxserver/heimdall:2.2.2-ls96)
|
||||||
30
heimdall/Dockerfile
Normal file
30
heimdall/Dockerfile
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
ARG BUILD_FROM
|
||||||
|
# hadolint ignore=DL3006
|
||||||
|
FROM $BUILD_FROM
|
||||||
|
|
||||||
|
RUN curl -J -L -o /tmp/bashio.tar.gz \
|
||||||
|
"https://github.com/hassio-addons/bashio/archive/v0.7.1.tar.gz" \
|
||||||
|
&& mkdir /tmp/bashio \
|
||||||
|
&& tar zxvf \
|
||||||
|
/tmp/bashio.tar.gz \
|
||||||
|
--strip 1 -C /tmp/bashio \
|
||||||
|
\
|
||||||
|
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
||||||
|
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
||||||
|
&& rm -fr /tmp/*
|
||||||
|
|
||||||
|
# fix folders for hassio environment
|
||||||
|
RUN sed -i "s|/config/keys/cert.crt|/ssl/fullchain.pem|g" /defaults/default && \
|
||||||
|
sed -i "s|/config/keys/cert.key|/ssl/privkey.pem|g" /defaults/default && \
|
||||||
|
sed -i "s|/config|/config/heimdall|g" /defaults/default && \
|
||||||
|
sed -i "s|/config|/config/heimdall|g" /defaults/nginx.conf && \
|
||||||
|
sed -i "s|/config/keys/cert.crt|/ssl/fullchain.pem|g" /etc/cont-init.d/* && \
|
||||||
|
sed -i "s|/config/keys/cert.key|/ssl/privkey.pem|g" /etc/cont-init.d/* && \
|
||||||
|
sed -i "s|/config/heimdall/keys|/ssl|g" /etc/cont-init.d/* && \
|
||||||
|
sed -i "s|/config|/config/heimdall|g" /etc/cont-init.d/* && \
|
||||||
|
sed -i "s|/config|/config/heimdall|g" /etc/services.d/nginx/* && \
|
||||||
|
sed -i "s|/config|/config/heimdall|g" /etc/logrotate.d/heimdall
|
||||||
|
|
||||||
|
|
||||||
|
# copy local files
|
||||||
|
COPY root/ /
|
||||||
26
heimdall/README.md
Normal file
26
heimdall/README.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Hassio Add-ons by petersendev: heimdall
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
[Heimdall](https://heimdall.site/) is a way to organise all those links to your most used web sites and web applications in a simple way. Simplicity is the key to Heimdall. Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo.
|
||||||
|
|
||||||
|
This addon is based on the [docker image](https://github.com/linuxserver/docker-heimdall) from linuxserver.io.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
The installation of this add-on is pretty straightforward and not different in
|
||||||
|
comparison to installing any other Hass.io add-on.
|
||||||
|
|
||||||
|
1. [Add my Hass.io add-ons repository][repository] to your Hass.io instance.
|
||||||
|
1. Install this add-on.
|
||||||
|
1. Click the `Save` button to store your configuration.
|
||||||
|
1. Start the add-on.
|
||||||
|
1. Check the logs of the add-on to see if everything went well.
|
||||||
|
1. Carefully configure the add-on to your preferences, see the official documentation for for that.
|
||||||
|
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
Webui can be found at `<your-ip>:82`.
|
||||||
|
|
||||||
|
[repository]: https://github.com/petersendev/hassio-addons
|
||||||
13
heimdall/build.json
Normal file
13
heimdall/build.json
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"build_from_template": {
|
||||||
|
"image": "linuxserver/heimdall",
|
||||||
|
"version": "2.2.2-ls96"
|
||||||
|
},
|
||||||
|
"build_from": {
|
||||||
|
"armhf": "linuxserver/heimdall:arm32v7-2.2.2-ls96",
|
||||||
|
"aarch64": "linuxserver/heimdall:arm64v8-2.2.2-ls96",
|
||||||
|
"amd64": "linuxserver/heimdall:amd64-2.2.2-ls96"
|
||||||
|
},
|
||||||
|
"squash": false,
|
||||||
|
"args": {}
|
||||||
|
}
|
||||||
45
heimdall/config.json
Normal file
45
heimdall/config.json
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"name": "heimdall",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"slug": "heimdall",
|
||||||
|
"legacy": false,
|
||||||
|
"maintenance": {
|
||||||
|
"github_release": "https://github.com/linuxserver/docker-heimdall",
|
||||||
|
"version_regex": "(\\d+\\.\\d+\\.\\d+)-(ls\\d+)"
|
||||||
|
},
|
||||||
|
"description": "Application Dashboard",
|
||||||
|
"url": "https://github.com/petersendev/hassio-addons/heimdall",
|
||||||
|
"startup": "services",
|
||||||
|
"arch": [
|
||||||
|
"aarch64",
|
||||||
|
"amd64",
|
||||||
|
"armhf"
|
||||||
|
],
|
||||||
|
"ports": {
|
||||||
|
"80/tcp": 82,
|
||||||
|
"443/tcp": 8445
|
||||||
|
},
|
||||||
|
"ports_description": {
|
||||||
|
"80/tcp": "web interface",
|
||||||
|
"443/tcp": "web interface (SSL)"
|
||||||
|
},
|
||||||
|
"map": [
|
||||||
|
"config:rw",
|
||||||
|
"share:rw",
|
||||||
|
"ssl"
|
||||||
|
],
|
||||||
|
"webui": "http://[HOST]:[PORT:82]",
|
||||||
|
"boot": "auto",
|
||||||
|
"options": {
|
||||||
|
"PUID": 1001,
|
||||||
|
"PGID": 1001
|
||||||
|
},
|
||||||
|
"schema": {
|
||||||
|
"PUID": "int",
|
||||||
|
"PGID": "int",
|
||||||
|
"TZ": "str?"
|
||||||
|
},
|
||||||
|
"environment": {
|
||||||
|
},
|
||||||
|
"image": "petersendev/hassio-heimdall-{arch}"
|
||||||
|
}
|
||||||
BIN
heimdall/icon.png
Normal file
BIN
heimdall/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
BIN
heimdall/logo.png
Normal file
BIN
heimdall/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
5
heimdall/root/etc/cont-init.d/00-ha-env
Normal file
5
heimdall/root/etc/cont-init.d/00-ha-env
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
|
for k in $(bashio::jq "${__BASHIO_ADDON_CONFIG}" 'keys | .[]'); do
|
||||||
|
printf "$(bashio::config $k)" > /var/run/s6/container_environment/$k
|
||||||
|
done
|
||||||
7
heimdall/root/etc/cont-init.d/20-folders
Normal file
7
heimdall/root/etc/cont-init.d/20-folders
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
if [ ! -d /config/heimdall ]; then
|
||||||
|
echo "Creating /config/heimdall"
|
||||||
|
mkdir -p /config/heimdall
|
||||||
|
chown -R abc:abc /config/heimdall
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user