mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-14 19:41:31 +02:00
initial commit
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
tmp
|
||||||
|
*.bat
|
||||||
17
README.md
17
README.md
@@ -1 +1,16 @@
|
|||||||
# hassio-addons
|
# Hassio Add-ons by petersendev
|
||||||
|
|
||||||
|
## About
|
||||||
|
My hassio addon repository.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Adding this add-ons repository to your Hass.io Home Assistant instance is
|
||||||
|
pretty easy. Follow [the official instructions][third-party-addons] on the
|
||||||
|
website of Home Assistant, and use the following URL:
|
||||||
|
|
||||||
|
```txt
|
||||||
|
https://github.com/petersendev/hassio-addons
|
||||||
|
```
|
||||||
|
|
||||||
|
[third-party-addons]: https://home-assistant.io/hassio/installing_third_party_addons/
|
||||||
5
repository.json
Normal file
5
repository.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "Hass.io Add-ons by petersendev",
|
||||||
|
"url": "https://github.com/petersendev/hassio-addons",
|
||||||
|
"maintainer": "Arne Petersen"
|
||||||
|
}
|
||||||
9
znc/Dockerfile
Normal file
9
znc/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
FROM linuxserver/znc
|
||||||
|
|
||||||
|
# use /data instead of /config for hass.io environment
|
||||||
|
RUN sed -i "s|/config|/config/znc|g" /etc/services.d/znc/run \
|
||||||
|
&& sed -i "s|/config|/config/znc|g" /etc/cont-init.d/20-config \
|
||||||
|
&& sed -i "s|/config/znc/config/zncs|/config/znc/configs|g" /etc/cont-init.d/20-config
|
||||||
|
|
||||||
|
# copy local files
|
||||||
|
COPY root/ /
|
||||||
31
znc/README.md
Normal file
31
znc/README.md
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# Hassio Add-ons by petersendev: ZNC
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
[ZNC](http://wiki.znc.in/ZNC) is an IRC network bouncer or BNC. It can detach the client from the actual IRC server, and also from selected channels. Multiple clients from different locations can connect to a single ZNC account simultaneously and therefore appear under the same nickname on IRC.
|
||||||
|
|
||||||
|
This addon is based on the [docker image](https://github.com/linuxserver/docker-znc) 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>:6500` for http and `<your-ip>:6501` for ssl (self-genererated certificate).
|
||||||
|
|
||||||
|
The default login details (change ASAP) are
|
||||||
|
|
||||||
|
`login`: admin, `password`: admin
|
||||||
|
|
||||||
|
|
||||||
|
[repository]: https://github.com/petersendev/hassio-addons
|
||||||
35
znc/config.json
Normal file
35
znc/config.json
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"name": "znc",
|
||||||
|
"version": "0.0.5",
|
||||||
|
"slug": "znc",
|
||||||
|
"description": "znc add-on based on linuxserver.io image",
|
||||||
|
"url": "https://github.com/petersendev/hassio-addons/znc",
|
||||||
|
"startup": "services",
|
||||||
|
"arch": [
|
||||||
|
"aarch64",
|
||||||
|
"amd64",
|
||||||
|
"armhf"
|
||||||
|
],
|
||||||
|
"ports": {
|
||||||
|
"6500/tcp": 6500,
|
||||||
|
"6501/tcp": 6501
|
||||||
|
},
|
||||||
|
"ports_description": {
|
||||||
|
"6500/tcp": "no SSL",
|
||||||
|
"6501/tcp": "SSL"
|
||||||
|
},
|
||||||
|
"map": [
|
||||||
|
"config:rw",
|
||||||
|
"share:rw",
|
||||||
|
"ssl"
|
||||||
|
],
|
||||||
|
"webui": "http://[HOST]:[PORT:6500]",
|
||||||
|
"boot": "auto",
|
||||||
|
"environment": {
|
||||||
|
"PUID": "1000",
|
||||||
|
"PGID": "1000"
|
||||||
|
},
|
||||||
|
"options": {},
|
||||||
|
"schema": {},
|
||||||
|
"image": "petersendev/hassio-znc-{arch}"
|
||||||
|
}
|
||||||
BIN
znc/icon.png
Normal file
BIN
znc/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
BIN
znc/logo.png
Normal file
BIN
znc/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
35
znc/root/defaults/znc.conf
Normal file
35
znc/root/defaults/znc.conf
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
// WARNING
|
||||||
|
//
|
||||||
|
// Do NOT edit this file while ZNC is running!
|
||||||
|
// Use webadmin or *controlpanel instead.
|
||||||
|
//
|
||||||
|
// Altering this file by hand will forfeit all support.
|
||||||
|
//
|
||||||
|
// But if you feel risky, you might want to read help on /znc saveconfig and /znc rehash.
|
||||||
|
// Also check http://en.znc.in/wiki/Configuration
|
||||||
|
|
||||||
|
Version = 1.7.x
|
||||||
|
<Listener listener0>
|
||||||
|
Port = 6500
|
||||||
|
IPv4 = true
|
||||||
|
IPv6 = false
|
||||||
|
SSL = false
|
||||||
|
</Listener>
|
||||||
|
<Listener listener1>
|
||||||
|
Port = 6501
|
||||||
|
IPv4 = true
|
||||||
|
IPv6 = false
|
||||||
|
SSL = true
|
||||||
|
</Listener>
|
||||||
|
LoadModule = webadmin
|
||||||
|
|
||||||
|
<User admin>
|
||||||
|
Pass = sha256#b83fb77b88fede3a01f5a92b2124f3008227828b4b0b6daf389404f68461aa90#X?0DsLk6eUajI4o1.39T#
|
||||||
|
Admin = true
|
||||||
|
Nick = admin
|
||||||
|
AltNick = admin_
|
||||||
|
Ident = admin
|
||||||
|
RealName = Got ZNC?
|
||||||
|
LoadModule = chansaver
|
||||||
|
LoadModule = controlpanel
|
||||||
|
</User>
|
||||||
Reference in New Issue
Block a user