init
This commit is contained in:
78
syncthing/CHANGELOG.md
Normal file
78
syncthing/CHANGELOG.md
Normal file
@@ -0,0 +1,78 @@
|
||||
## 1.11.0 - 2021-06-03
|
||||
|
||||
* 🔼 Update syncthing to `1.17.0-r0`
|
||||
|
||||
|
||||
## 1.10.0 - 2021-04-02
|
||||
|
||||
* 🔼 Update alpine to `3.13`
|
||||
* 🔼 Update syncthing to `1.16.0-r0`
|
||||
|
||||
|
||||
## 1.9.0 - 2021-04-02
|
||||
|
||||
* 🔨 Use ghcr.io/home-assistant for base images
|
||||
|
||||
|
||||
## 1.8.1 - 2021-03-17
|
||||
|
||||
* 🐛 Specifiy own S6 entrypoint, don't rely on the base image.
|
||||
|
||||
|
||||
## 1.8.0 - 2021-01-30
|
||||
|
||||
* 🔼 Update alpine to `3.12`
|
||||
* 🔼 Update syncthing to `1.12.1-r0`
|
||||
* 🔨 Use Jemalloc for better memory handling
|
||||
|
||||
|
||||
## 1.7.0 - 2020-12-11
|
||||
|
||||
* 🔼 Update syncthing to `1.12.0-r0` (also for aarch64)
|
||||
|
||||
|
||||
## 1.6.2 - 2020-10-22
|
||||
|
||||
* 🔨 Use S6-Overlay for execution
|
||||
* 🔨 Start as `application` startup type
|
||||
|
||||
|
||||
## 1.6.1 - 2020-10-08
|
||||
|
||||
* 🔼 Update syncthing to `1.10.0-r1` (aarch64 still`1.5.0-r0`)
|
||||
|
||||
|
||||
## 1.6.0 - 2020-10-07
|
||||
|
||||
* ➕ Map also `/media` folder inside
|
||||
|
||||
|
||||
## 1.5.0 - 2020-10-06
|
||||
|
||||
* 🔼 Update syncthing to `1.10.0-r0` (except for aarch64, there its downgraded to `1.5.0-r0`)
|
||||
|
||||
|
||||
## 1.4.0 - 2020-08-16
|
||||
|
||||
* 🔼 Update syncthing to `1.8.0-r0` (except for aarch64, there its `1.7.1-r1`)
|
||||
* ➕ Map also `/ssl` folder inside
|
||||
|
||||
## 1.3.0 - 2020-06-15
|
||||
|
||||
* 🔼 Update syncthing to `1.6.1-r0`
|
||||
* 🔼 Update alpine to `3.12`
|
||||
|
||||
## 1.2.0 - 2020-05-22
|
||||
|
||||
* 🔨 Updated Changelog to new format
|
||||
* 🔼 Update syncthing to `1.5.0-r0`
|
||||
|
||||
|
||||
## 1.1.0 - 2020-04-16
|
||||
|
||||
* 🔼 Update syncthing to `1.4.2-r0`
|
||||
|
||||
|
||||
## 1.0.0 - 2020-03-19
|
||||
|
||||
* ➕ Started with syncthing version `1.4`
|
||||
9
syncthing/Dockerfile
Normal file
9
syncthing/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
ARG BUILD_FROM
|
||||
FROM $BUILD_FROM
|
||||
|
||||
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
|
||||
"syncthing=1.17.0-r0"
|
||||
|
||||
ENTRYPOINT [ "/init" ]
|
||||
CMD []
|
||||
COPY root /
|
||||
39
syncthing/README.md
Normal file
39
syncthing/README.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Syncthing Addon
|
||||
|
||||
[Syncthing](https://syncthing.net/) wrapped inside a Homeassistant supervisor addon.
|
||||
|
||||
Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it's transmitted over the internet.
|
||||
|
||||
![Addon Stage][stage-badge]
|
||||
![Supports aarch64 Architecture][aarch64-badge]
|
||||
![Supports amd64 Architecture][amd64-badge]
|
||||
![Supports armhf Architecture][armhf-badge]
|
||||
![Supports armv7 Architecture][armv7-badge]
|
||||
![Supports i386 Architecture][i386-badge]
|
||||
|
||||
[![Install on my Home Assistant][install-badge]][install-url]
|
||||
[![Donate][donation-badge]][donation-url]
|
||||
|
||||
# Folders available
|
||||
|
||||
When using this addon to permanently hold your data, put the synced folder inside `/data`. Otherwise it will be deleted on container restart.
|
||||
|
||||
Also the `/share`, `/confg`, `/backup`, `/addons` and `/ssl` folders is mapped inside. Your can use them as persistant storage, too.
|
||||
They can also be used to backup the Home Assistant backups. 😉
|
||||
|
||||
# Configuration
|
||||
|
||||
The configuration is done via the web ui. Start the addon and configure it there.
|
||||
|
||||
|
||||
[aarch64-badge]: https://img.shields.io/badge/aarch64-yes-green.svg?style=for-the-badge
|
||||
[amd64-badge]: https://img.shields.io/badge/amd64-yes-green.svg?style=for-the-badge
|
||||
[armhf-badge]: https://img.shields.io/badge/armhf-yes-green.svg?style=for-the-badge
|
||||
[armv7-badge]: https://img.shields.io/badge/armv7-yes-green.svg?style=for-the-badge
|
||||
[i386-badge]: https://img.shields.io/badge/i386-yes-green.svg?style=for-the-badge
|
||||
[install-url]: https://my.home-assistant.io/redirect/supervisor_addon?addon=243ffc37_syncthing
|
||||
[stage-badge]: https://img.shields.io/badge/Addon%20stage-stable-green.svg?style=for-the-badge
|
||||
|
||||
[install-badge]: https://img.shields.io/badge/Install%20on%20my-Home%20Assistant-41BDF5?logo=home-assistant&style=for-the-badge
|
||||
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee-%23d32f2f?logo=buy-me-a-coffee&style=for-the-badge&logoColor=white
|
||||
[donation-url]: https://www.buymeacoffee.com/Poeschl
|
||||
9
syncthing/build.json
Normal file
9
syncthing/build.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"build_from": {
|
||||
"armhf": "ghcr.io/home-assistant/armhf-base:3.13",
|
||||
"armv7": "ghcr.io/home-assistant/armv7-base:3.13",
|
||||
"aarch64": "ghcr.io/home-assistant/aarch64-base:3.13",
|
||||
"amd64": "ghcr.io/home-assistant/amd64-base:3.13",
|
||||
"i386": "ghcr.io/home-assistant/i386-base:3.13"
|
||||
}
|
||||
}
|
||||
39
syncthing/config.json
Normal file
39
syncthing/config.json
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
{
|
||||
"name": "Syncthing",
|
||||
"version": "1.11.0",
|
||||
"slug": "syncthing",
|
||||
"description": "Syncthing is a continuous file synchronization program in a de-centralized way. ",
|
||||
"url": "https://github.com/Poeschl/Hassio-Addons/tree/master/syncthing",
|
||||
"arch": [
|
||||
"armhf",
|
||||
"armv7",
|
||||
"aarch64",
|
||||
"amd64",
|
||||
"i386"
|
||||
],
|
||||
"homeassistant": "0.115.0",
|
||||
"image": "ghcr.io/poeschl/ha-syncthing-{arch}",
|
||||
"ports": {
|
||||
"8384/tcp": null,
|
||||
"22000/tcp": 22000,
|
||||
"21027/udp": 21027
|
||||
},
|
||||
"ports_description": {
|
||||
"8384/tcp": "Web frontend (not needed with Ingress)",
|
||||
"22000/tcp": "Sync protocol",
|
||||
"21027/udp": "Discovery broadcast"
|
||||
},
|
||||
"ingress": true,
|
||||
"ingress_port": 8384,
|
||||
"panel_title": "Syncthing",
|
||||
"panel_icon": "mdi:sync",
|
||||
"map": [
|
||||
"share:rw",
|
||||
"config:rw",
|
||||
"backup:rw",
|
||||
"addons:rw",
|
||||
"ssl:rw",
|
||||
"media:rw"
|
||||
]
|
||||
}
|
||||
BIN
syncthing/icon.png
Normal file
BIN
syncthing/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
BIN
syncthing/logo.png
Normal file
BIN
syncthing/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 89 KiB |
5
syncthing/root/etc/cont-init.d/setup-config
Normal file
5
syncthing/root/etc/cont-init.d/setup-config
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
set -e
|
||||
|
||||
bashio::log.info 'Setup config'
|
||||
mkdir -p /data/config
|
||||
10
syncthing/root/etc/services.d/syncthing/run
Normal file
10
syncthing/root/etc/services.d/syncthing/run
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
set -e
|
||||
|
||||
# Enable Jemalloc for better memory handling
|
||||
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
|
||||
|
||||
export STNOUPGRADE=1
|
||||
|
||||
bashio::log.info 'Start syncthing'
|
||||
syncthing -no-browser -no-restart -home=/data/config -gui-address=0.0.0.0:8384
|
||||
Reference in New Issue
Block a user