From 8f6490c70085142463fdee05350c70c5cc891874 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 20:36:29 +0200 Subject: [PATCH 01/34] 'Hello_world/Dockerfile' updaten --- Hello_world/Dockerfile | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Hello_world/Dockerfile b/Hello_world/Dockerfile index df33f7a..d8ba574 100644 --- a/Hello_world/Dockerfile +++ b/Hello_world/Dockerfile @@ -1,15 +1,6 @@ ARG BUILD_FROM FROM $BUILD_FROM -# Install requirements for add-on -RUN \ - apk add --no-cache \ - python3 - -# Python 3 HTTP Server serves the current working dir -# So let's set it to our add-on persistent data directory. -WORKDIR /data - # Copy data for add-on COPY run.sh / RUN chmod a+x /run.sh From bb97fbcb379a88fe547b5e3f3b51b08e76072279 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 20:36:55 +0200 Subject: [PATCH 02/34] 'Hello_world/config.yaml' updaten --- Hello_world/config.yaml | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/Hello_world/config.yaml b/Hello_world/config.yaml index 8e76f27..a1a54b9 100644 --- a/Hello_world/config.yaml +++ b/Hello_world/config.yaml @@ -1,27 +1,11 @@ -name: "Hello world test addon" +name: "Hello world" description: "My first real add-on!" -version: "0.0.2" -slug: "hello_world!!" +version: "0.0.3" +slug: "hello_world" init: false arch: -# - aarch64 + - aarch64 - amd64 -# - armhf -# - armv7 -# - i386 -startup: before -ports: - 8000/tcp: 8000 - -options: - beer: true - wine: true - liquor: false - name: "world" - year: 2017 -schema: - beer: bool - wine: bool - liquor: bool - name: str - year: int + - armhf + - armv7 + - i386 \ No newline at end of file From 4eac3257a1733ff13cf94f252c9903d45b88b1d8 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 20:37:12 +0200 Subject: [PATCH 03/34] 'Hello_world/run.sh' updaten --- Hello_world/run.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Hello_world/run.sh b/Hello_world/run.sh index 9d0942c..0c47eb1 100644 --- a/Hello_world/run.sh +++ b/Hello_world/run.sh @@ -1,5 +1,3 @@ #!/usr/bin/with-contenv bashio -echo "Hello world!" - -python3 -m http.server 8000 \ No newline at end of file +echo "Hello world!" \ No newline at end of file From 1a687fb87118c92636212fcb1e047a5444c780eb Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 20:38:25 +0200 Subject: [PATCH 04/34] 'Hello_world/config.yaml' updaten --- Hello_world/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hello_world/config.yaml b/Hello_world/config.yaml index a1a54b9..bb74389 100644 --- a/Hello_world/config.yaml +++ b/Hello_world/config.yaml @@ -1,4 +1,4 @@ -name: "Hello world" +name: "Hello world test addon" description: "My first real add-on!" version: "0.0.3" slug: "hello_world" From ef83033418d5a16bfdeb136c95b9de4381081222 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 20:41:33 +0200 Subject: [PATCH 05/34] 'Hello_world/config.yaml' updaten --- Hello_world/config.yaml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/Hello_world/config.yaml b/Hello_world/config.yaml index bb74389..6c2af73 100644 --- a/Hello_world/config.yaml +++ b/Hello_world/config.yaml @@ -1,11 +1,38 @@ name: "Hello world test addon" +name: "Hello world" description: "My first real add-on!" +description: "My first real add-on!" +version: "0.0.2" version: "0.0.3" +slug: "hello_world!!" slug: "hello_world" init: false +init: false arch: +arch: +# - aarch64 - aarch64 - amd64 + - amd64 +# - armhf - armhf +# - armv7 - armv7 - - i386 \ No newline at end of file +# - i386 + - i386 +startup: before +ports: + 8000/tcp: 8000 + +options: + beer: true + wine: true + liquor: false + name: "world" + year: 2017 +schema: + beer: bool + wine: bool + liquor: bool + name: str + year: int \ No newline at end of file From c1889b6c4aba146847e310dff06a9b1d94fd895f Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 20:42:19 +0200 Subject: [PATCH 06/34] 'Hello_world/config.yaml' updaten --- Hello_world/config.yaml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Hello_world/config.yaml b/Hello_world/config.yaml index 6c2af73..2e6702e 100644 --- a/Hello_world/config.yaml +++ b/Hello_world/config.yaml @@ -1,24 +1,13 @@ name: "Hello world test addon" -name: "Hello world" description: "My first real add-on!" -description: "My first real add-on!" -version: "0.0.2" version: "0.0.3" slug: "hello_world!!" -slug: "hello_world" -init: false init: false arch: -arch: -# - aarch64 - aarch64 - amd64 - - amd64 -# - armhf - armhf -# - armv7 - armv7 -# - i386 - i386 startup: before ports: From aef70312fee7f407819a7f23956aaf899fa617f5 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 20:42:49 +0200 Subject: [PATCH 07/34] 'Hello_world/config.yaml' updaten --- Hello_world/config.yaml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/Hello_world/config.yaml b/Hello_world/config.yaml index 2e6702e..b7a5639 100644 --- a/Hello_world/config.yaml +++ b/Hello_world/config.yaml @@ -8,20 +8,4 @@ arch: - amd64 - armhf - armv7 - - i386 -startup: before -ports: - 8000/tcp: 8000 - -options: - beer: true - wine: true - liquor: false - name: "world" - year: 2017 -schema: - beer: bool - wine: bool - liquor: bool - name: str - year: int \ No newline at end of file + - i386 \ No newline at end of file From 91337bc86111a573b95e8a5697ce8e5dac0b6b61 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 20:44:43 +0200 Subject: [PATCH 08/34] 'Hello_world/Dockerfile' updaten --- Hello_world/Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Hello_world/Dockerfile b/Hello_world/Dockerfile index d8ba574..f5e81d2 100644 --- a/Hello_world/Dockerfile +++ b/Hello_world/Dockerfile @@ -1,8 +1,18 @@ ARG BUILD_FROM FROM $BUILD_FROM +# Install requirements for add-on +RUN \ + apk add --no-cache \ + example_alpine_package + # Copy data for add-on COPY run.sh / RUN chmod a+x /run.sh -CMD [ "/run.sh" ] \ No newline at end of file +CMD [ "/run.sh" ] + +LABEL \ + io.hass.version="VERSION" \ + io.hass.type="addon" \ + io.hass.arch="armhf|aarch64|i386|amd64" \ No newline at end of file From c90afdade2f0239d9d75c58275f781f5fa9c06ae Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:18:39 +0200 Subject: [PATCH 09/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index 038299c..f1360ae 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -1,11 +1,16 @@ name: "Seafile sync" description: "My first real add-on!" -version: "0.0.1" -slug: "hello_world" +version: "0.0.01" +slug: "seafile_test" init: false arch: -# - aarch64 - amd64 -# - armhf -# - armv7 -# - i386 \ No newline at end of file +map: + - "config:ro" +schema: + SEAF_SERVER_URL: str + SEAF_USERNAME: str + SEAF_PASSWORD: password + SEAF_LIBRARY_UUID: str +#volumes: +# - /config:/library:ro \ No newline at end of file From 6c070a34a21770bc2c9d1cd754ca1f2fe3feb52f Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:19:17 +0200 Subject: [PATCH 10/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index 39af24a..6950814 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -1,9 +1,2 @@ -docker run \ - --rm \ - --privileged \ - -v ~/.docker:/root/.docker \ - homeassistant/amd64-builder \ - --all \ - -t addon-folder \ - -r https://github.com/xy/addons \ - -b branchname \ No newline at end of file +# https://gitlab.com/flwgns-docker/seafile-client/ +FROM flowgunso/seafile-client:latest From 236e717fb6d0b744a2b6be9eed1be5bd6ae072b6 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:27:19 +0200 Subject: [PATCH 11/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index 6950814..87d1338 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -1,2 +1,6 @@ # https://gitlab.com/flwgns-docker/seafile-client/ +SEAF_SERVER_URL=$(bashio::config 'SEAF_SERVER_URL') +SEAF_USERNAME=$(bashio::config 'SEAF_USERNAME') +SEAF_PASSWORD=$(bashio::config 'SEAF_PASSWORD') +SEAF_LIBRARY_UUID=$(bashio::config 'SEAF_LIBRARY_UUID') FROM flowgunso/seafile-client:latest From efa0c18d20bbe55d5171db5340b11fc235be2a3d Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:30:29 +0200 Subject: [PATCH 12/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index 87d1338..6950814 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -1,6 +1,2 @@ # https://gitlab.com/flwgns-docker/seafile-client/ -SEAF_SERVER_URL=$(bashio::config 'SEAF_SERVER_URL') -SEAF_USERNAME=$(bashio::config 'SEAF_USERNAME') -SEAF_PASSWORD=$(bashio::config 'SEAF_PASSWORD') -SEAF_LIBRARY_UUID=$(bashio::config 'SEAF_LIBRARY_UUID') FROM flowgunso/seafile-client:latest From e8d685374245135187711900d8c0b1b4876f1df4 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:35:21 +0200 Subject: [PATCH 13/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index f1360ae..f7bafce 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -7,8 +7,13 @@ arch: - amd64 map: - "config:ro" +options: + SEAF_SERVER_URL: https://example.com + SEAF_USERNAME: name of user + SEAF_PASSWORD: 1234 + SEAF_LIBRARY_UUID: 0000 schema: - SEAF_SERVER_URL: str + SEAF_SERVER_URL: url SEAF_USERNAME: str SEAF_PASSWORD: password SEAF_LIBRARY_UUID: str From f134b6be2545bbbd06789b0dea11b1f457cc9734 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:39:19 +0200 Subject: [PATCH 14/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index f7bafce..dafec97 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -1,12 +1,16 @@ name: "Seafile sync" description: "My first real add-on!" -version: "0.0.01" +version: "0.0.02" slug: "seafile_test" +url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync init: false +boot: manual +startup: once arch: - amd64 map: - "config:ro" + options: SEAF_SERVER_URL: https://example.com SEAF_USERNAME: name of user @@ -17,5 +21,6 @@ schema: SEAF_USERNAME: str SEAF_PASSWORD: password SEAF_LIBRARY_UUID: str + #volumes: # - /config:/library:ro \ No newline at end of file From 41eae9763544b6764ee674746c56070d41a3e981 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:41:51 +0200 Subject: [PATCH 15/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index 6950814..c772be4 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -1,2 +1,4 @@ # https://gitlab.com/flwgns-docker/seafile-client/ +ARG \ + SEAF_SERVER_URL FROM flowgunso/seafile-client:latest From 8aa73cf10ebdcb3d73527ac20428fc5ab1ca5a33 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:45:23 +0200 Subject: [PATCH 16/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index c772be4..7f8b6d6 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -1,4 +1,5 @@ # https://gitlab.com/flwgns-docker/seafile-client/ ARG \ - SEAF_SERVER_URL + SEAF_SERVER_URL==${SEAF_SERVER_URL} + FROM flowgunso/seafile-client:latest From 5c3ecb37e02c92307ee5045227addb0282ad18a7 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:45:49 +0200 Subject: [PATCH 17/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index dafec97..9a7c25c 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -1,6 +1,6 @@ name: "Seafile sync" description: "My first real add-on!" -version: "0.0.02" +version: "0.0.03" slug: "seafile_test" url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync init: false From 6cb4602b7187d5e0762af9ad2ab0fc1c9648cdea Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:46:36 +0200 Subject: [PATCH 18/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index 7f8b6d6..6950814 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -1,5 +1,2 @@ # https://gitlab.com/flwgns-docker/seafile-client/ -ARG \ - SEAF_SERVER_URL==${SEAF_SERVER_URL} - FROM flowgunso/seafile-client:latest From 36f9c9ae91da2264754747ef44fb2b99fe4bfc01 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:47:26 +0200 Subject: [PATCH 19/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index 6950814..4f335ae 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -1,2 +1,6 @@ # https://gitlab.com/flwgns-docker/seafile-client/ +args: + SEAF_SERVER_URL: $SEAF_SERVER_URL + + FROM flowgunso/seafile-client:latest From 3b9acb053a8ff257e3cae2ceef10ed5d0496a0bd Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:47:47 +0200 Subject: [PATCH 20/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index 9a7c25c..b4c7d43 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -1,6 +1,6 @@ name: "Seafile sync" description: "My first real add-on!" -version: "0.0.03" +version: "0.0.01" slug: "seafile_test" url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync init: false From 5ccef516928f003145bf1f67fe4b69273d1441a0 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:48:21 +0200 Subject: [PATCH 21/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index 4f335ae..6950814 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -1,6 +1,2 @@ # https://gitlab.com/flwgns-docker/seafile-client/ -args: - SEAF_SERVER_URL: $SEAF_SERVER_URL - - FROM flowgunso/seafile-client:latest From abb5a194ddca050b67ec40536d6928d83ab295b9 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:50:08 +0200 Subject: [PATCH 22/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index 6950814..a139905 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -1,2 +1,9 @@ # https://gitlab.com/flwgns-docker/seafile-client/ + +ENV \ + SEAF_SERVER_URL: SERVER_URL \ + SEAF_USERNAME: USERNAME \ + SEAF_PASSWORD: PASSWORD \ + SEAF_LIBRARY_UUID: LIBRARY_UUID + FROM flowgunso/seafile-client:latest From 35f0e0b2501bac4e10b484e11fb063dba2145062 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:50:30 +0200 Subject: [PATCH 23/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index b4c7d43..b9a080f 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -1,6 +1,6 @@ name: "Seafile sync" description: "My first real add-on!" -version: "0.0.01" +version: "0.0.02" slug: "seafile_test" url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync init: false @@ -12,15 +12,15 @@ map: - "config:ro" options: - SEAF_SERVER_URL: https://example.com - SEAF_USERNAME: name of user - SEAF_PASSWORD: 1234 - SEAF_LIBRARY_UUID: 0000 + SERVER_URL: https://example.com + USERNAME: name of user + PASSWORD: 1234 + LIBRARY_UUID: 0000 schema: - SEAF_SERVER_URL: url - SEAF_USERNAME: str - SEAF_PASSWORD: password - SEAF_LIBRARY_UUID: str + SERVER_URL: url + USERNAME: str + PASSWORD: password + LIBRARY_UUID: str #volumes: # - /config:/library:ro \ No newline at end of file From 348760e7cd0d13cb817c62d04db83e58593701c6 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:51:38 +0200 Subject: [PATCH 24/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index a139905..2e326e1 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -1,4 +1,5 @@ # https://gitlab.com/flwgns-docker/seafile-client/ +FROM flowgunso/seafile-client:latest ENV \ SEAF_SERVER_URL: SERVER_URL \ @@ -6,4 +7,3 @@ ENV \ SEAF_PASSWORD: PASSWORD \ SEAF_LIBRARY_UUID: LIBRARY_UUID -FROM flowgunso/seafile-client:latest From 5ed324c887e116c42c2ad353cd1192beda455291 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:52:46 +0200 Subject: [PATCH 25/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index 2e326e1..b9931e1 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -2,8 +2,8 @@ FROM flowgunso/seafile-client:latest ENV \ - SEAF_SERVER_URL: SERVER_URL \ - SEAF_USERNAME: USERNAME \ - SEAF_PASSWORD: PASSWORD \ - SEAF_LIBRARY_UUID: LIBRARY_UUID + SEAF_SERVER_URL="SERVER_URL" \ + SEAF_USERNAME="USERNAME" \ + SEAF_PASSWORD="PASSWORD" \ + SEAF_LIBRARY_UUID="LIBRARY_UUID" From 63f4efbb417ddf5db92619cc2210384d8e4bc991 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:53:04 +0200 Subject: [PATCH 26/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index b9a080f..8de2e7b 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -17,10 +17,10 @@ options: PASSWORD: 1234 LIBRARY_UUID: 0000 schema: - SERVER_URL: url + SERVER_URL: str USERNAME: str PASSWORD: password - LIBRARY_UUID: str + LIBRARY_UUID: password #volumes: # - /config:/library:ro \ No newline at end of file From 3d6c4f0bca0cfb38a3f6ad324d4aacd43ef82078 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:53:14 +0200 Subject: [PATCH 27/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index 8de2e7b..99cd660 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -1,6 +1,6 @@ name: "Seafile sync" description: "My first real add-on!" -version: "0.0.02" +version: "0.0.01" slug: "seafile_test" url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync init: false From 2d1ed9762ca2ec4f5518420941b2048b2a21f376 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:55:41 +0200 Subject: [PATCH 28/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index 99cd660..0d9785e 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -1,6 +1,6 @@ name: "Seafile sync" description: "My first real add-on!" -version: "0.0.01" +version: "0.0.02" slug: "seafile_test" url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync init: false @@ -16,11 +16,13 @@ options: USERNAME: name of user PASSWORD: 1234 LIBRARY_UUID: 0000 + SEAF_SKIP_SSL_CERT: true schema: SERVER_URL: str USERNAME: str PASSWORD: password LIBRARY_UUID: password + SEAF_SKIP_SSL_CERT: str #volumes: # - /config:/library:ro \ No newline at end of file From 12730b84b6f9f1a5d9542b83d0ea54af6336f50f Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:56:01 +0200 Subject: [PATCH 29/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index 0d9785e..f9b14f8 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -16,13 +16,13 @@ options: USERNAME: name of user PASSWORD: 1234 LIBRARY_UUID: 0000 - SEAF_SKIP_SSL_CERT: true + SKIP_SSL_CERT: true schema: SERVER_URL: str USERNAME: str PASSWORD: password LIBRARY_UUID: password - SEAF_SKIP_SSL_CERT: str + SKIP_SSL_CERT: str #volumes: # - /config:/library:ro \ No newline at end of file From 15bad0b07eeed17db1f43900d6d9cd04a6b0395e Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 22:56:43 +0200 Subject: [PATCH 30/34] 'seafile_sync/Dockerfile' updaten --- seafile_sync/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seafile_sync/Dockerfile b/seafile_sync/Dockerfile index b9931e1..5dc49fd 100644 --- a/seafile_sync/Dockerfile +++ b/seafile_sync/Dockerfile @@ -5,5 +5,6 @@ ENV \ SEAF_SERVER_URL="SERVER_URL" \ SEAF_USERNAME="USERNAME" \ SEAF_PASSWORD="PASSWORD" \ - SEAF_LIBRARY_UUID="LIBRARY_UUID" + SEAF_LIBRARY_UUID="LIBRARY_UUID" \ + SEAF_SKIP_SSL_CERT="SKIP_SSL_CERT" From 0364f4134e6342207358d3b7c56c43881b7e0857 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 23:00:40 +0200 Subject: [PATCH 31/34] 'README.md' updaten --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d44d19..10d2cba 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Hass-addon-Seafile-sync +# Hass-addons [![License][license-shield]](LICENSE) ![Project Stage][project-stage-shield] From b5506daf9b54da54f011903e005bedefa0df4ea4 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 23:01:02 +0200 Subject: [PATCH 32/34] 'seafile_sync/README.md' updaten --- seafile_sync/README.md | 43 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/seafile_sync/README.md b/seafile_sync/README.md index 070fbe3..02bf321 100644 --- a/seafile_sync/README.md +++ b/seafile_sync/README.md @@ -1 +1,42 @@ -# Bla \ No newline at end of file +# Seafile Sync +[![License][license-shield]](LICENSE) +![Project Stage][project-stage-shield] + +This is a concept. Do not use!!!! + +Conbinatie van: + +https://github.com/hassio-addons/addon-example + +https://gitlab.com/flwgns-docker/seafile-client + + +[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg +[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg +[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg +[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg +[commits-shield]: https://img.shields.io/github/commit-activity/y/hassio-addons/addon-example.svg +[commits]: https://github.com/hassio-addons/addon-example/commits/main +[contributors]: https://github.com/hassio-addons/addon-example/graphs/contributors +[discord-ha]: https://discord.gg/c5DvZ4e +[discord-shield]: https://img.shields.io/discord/478094546522079232.svg +[discord]: https://discord.me/hassioaddons +[docs]: https://github.com/hassio-addons/addon-example/blob/main/example/DOCS.md +[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg +[forum]: https://community.home-assistant.io/t/repository-community-hass-io-add-ons/24705?u=frenck +[frenck]: https://github.com/frenck +[github-actions-shield]: https://github.com/hassio-addons/addon-example/workflows/CI/badge.svg +[github-actions]: https://github.com/hassio-addons/addon-example/actions +[github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png +[github-sponsors]: https://github.com/sponsors/frenck +[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg +[issue]: https://github.com/hassio-addons/addon-example/issues +[license-shield]: https://img.shields.io/github/license/hassio-addons/addon-example.svg +[maintenance-shield]: https://img.shields.io/maintenance/yes/2022.svg +[patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png +[patreon]: https://www.patreon.com/frenck +[project-stage-shield]: https://img.shields.io/badge/project%20stage-concept-red.svg +[reddit]: https://reddit.com/r/homeassistant +[releases-shield]: https://img.shields.io/github/release/hassio-addons/addon-example.svg +[releases]: https://git.lermer.nl/Mathijs/Hass-addon-Seafile-sync/releases +[repository]: https://github.com/hassio-addons/repository \ No newline at end of file From b41eeb3bebdc629179690e39dc1464ed11789796 Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 23:01:19 +0200 Subject: [PATCH 33/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index f9b14f8..c71483e 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -1,6 +1,6 @@ name: "Seafile sync" description: "My first real add-on!" -version: "0.0.02" +version: "0.0.01" slug: "seafile_test" url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync init: false From d43a177e6e368e3380f1c363636ae95a858394ce Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Wed, 27 Jul 2022 23:16:22 +0200 Subject: [PATCH 34/34] 'seafile_sync/config.yaml' updaten --- seafile_sync/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seafile_sync/config.yaml b/seafile_sync/config.yaml index c71483e..f78a4ff 100644 --- a/seafile_sync/config.yaml +++ b/seafile_sync/config.yaml @@ -1,6 +1,6 @@ name: "Seafile sync" description: "My first real add-on!" -version: "0.0.01" +version: "0.0.02" slug: "seafile_test" url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync init: false @@ -10,7 +10,7 @@ arch: - amd64 map: - "config:ro" - +host_network: true options: SERVER_URL: https://example.com USERNAME: name of user