mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-18 19:09:02 +02:00
Compare commits
55 Commits
v9.0.0-bet
...
v9.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ec036a577 | ||
|
|
4d86b980f9 | ||
|
|
582d604b8b | ||
|
|
483139b417 | ||
|
|
7a77f18fb8 | ||
|
|
6dd6cb5c20 | ||
|
|
77831a2edd | ||
|
|
88979d48b1 | ||
|
|
e305053c26 | ||
|
|
3e1c1fa103 | ||
|
|
c6781e19e6 | ||
|
|
9eacde484a | ||
|
|
9ba748467e | ||
|
|
9da9e91453 | ||
|
|
b80e5cc26b | ||
|
|
3b3dc39bc8 | ||
|
|
117f57aa3e | ||
|
|
49f9f9ad8b | ||
|
|
36ac44fd5a | ||
|
|
3e9670b197 | ||
|
|
f3f5df4819 | ||
|
|
6bbdd0572a | ||
|
|
0c27976158 | ||
|
|
8ed0078dea | ||
|
|
a374fee273 | ||
|
|
b0493be646 | ||
|
|
c614aeb863 | ||
|
|
3117d590b6 | ||
|
|
45cae5a781 | ||
|
|
b1b779ac5d | ||
|
|
63a3491be4 | ||
|
|
f2aa915f71 | ||
|
|
2179df0893 | ||
|
|
e5bb412719 | ||
|
|
d464910e62 | ||
|
|
d59d6f5a77 | ||
|
|
a8fc42f93b | ||
|
|
ca11192265 | ||
|
|
2907a44f46 | ||
|
|
4cb4aa8cce | ||
|
|
989fe8b03b | ||
|
|
9b384a38b5 | ||
|
|
6832057596 | ||
|
|
bbf834c218 | ||
|
|
24b76d4af7 | ||
|
|
9aab0af6bd | ||
|
|
048603b685 | ||
|
|
47bccc997a | ||
|
|
788ef45134 | ||
|
|
62d4fcd0c1 | ||
|
|
a59977101b | ||
|
|
12ba15b318 | ||
|
|
3940ea9203 | ||
|
|
56134b300e | ||
|
|
ccb7d636c0 |
17
.github/ISSUE_TEMPLATE/config.yml
vendored
17
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1,11 +1,14 @@
|
|||||||
blank_issues_enabled: true
|
blank_issues_enabled: false
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: ioBroker Docker image discussions
|
- name: Did you read the docs? / Hast du die Doku gelesen?
|
||||||
|
url: https://docs.buanet.de/iobroker-docker-image/docs/
|
||||||
|
about: Please make sure you read the docs before submitting any issues. / Bitte stelle sicher, dass du die Dokumentation gelesen hast bevor du einen Fehler meldest.
|
||||||
|
- name: Questions? / Fragen?
|
||||||
url: https://github.com/buanet/ioBroker.docker/discussions
|
url: https://github.com/buanet/ioBroker.docker/discussions
|
||||||
# about: You can ask your questions here.
|
about: Ask your questions here! / Stell deine Fragen hier!
|
||||||
- name: ioBroker Community Forum
|
- name: ioBroker Community Forum
|
||||||
url: https://forum.iobroker.net/
|
url: https://forum.iobroker.net/
|
||||||
- name: ioBroker Discord channel
|
about: Need support? Check out our ioBroker Community Forum. / Du benötigst Unterstützung? Wirf einen Blick in unser ioBroker Community Forum.
|
||||||
url: https://discord.gg/Ne3y6fUac3
|
- name: ioBroker Discord Channel
|
||||||
- name: ioBroker Facebook group
|
url: https://discord.gg/5jGWNKnpZ8
|
||||||
url: https://www.facebook.com/groups/440499112958264/
|
about: Need support? Check out our ioBroker Discord channel. / Du benötigst Unterstützung? Wirf einen Blick in unseren ioBroker Discord Channel.
|
||||||
|
|||||||
12
.github/ISSUE_TEMPLATE/feature_request.yaml
vendored
12
.github/ISSUE_TEMPLATE/feature_request.yaml
vendored
@@ -1,17 +1,17 @@
|
|||||||
name: Feature Request
|
name: Feature Request / Verbesserungsvorschlag
|
||||||
description: I want to request a new feature.
|
description: Request a new feature here. / Schlage eine Verbesserung vor.
|
||||||
title: "[Feature Request]: "
|
title: "[Feature Request]: "
|
||||||
labels: "enhancement"
|
labels: "enhancement"
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for taking the time to give us your feedback!
|
Thanks for taking the time to give us your feedback! / Vielen Dank, dass du die Zeit nimmst uns Feedback zu geben!
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
label: Description
|
label: Description / Beschreibung
|
||||||
description: Please describe your request.
|
description: Please describe your request. / Bitte beschreibe deine Anforderung.
|
||||||
placeholder: Waht are your ideas?
|
placeholder: What are your ideas? / Was sind deine Ideen?
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
18
.github/ISSUE_TEMPLATE/problem_report.yaml
vendored
18
.github/ISSUE_TEMPLATE/problem_report.yaml
vendored
@@ -1,32 +1,32 @@
|
|||||||
name: Problem Report
|
name: Problem Report / Fehlermeldung
|
||||||
description: I want to report a problem.
|
description: Report a problem here. / Melde Fehler hier.
|
||||||
title: "[Problem]: "
|
title: "[Problem]: "
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for taking the time to fill out this bug report!
|
Thanks for taking the time to fill out this bug report! / Vielen Dank, dass du dir die Zeit nimmst den Fehlerreport auszufüllen!
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
label: Description
|
label: Description / Beschreibung
|
||||||
description: Please describe your problem.
|
description: Please describe your problem. / Bitte beschreibe dein Problem.
|
||||||
placeholder: What happened? What did you expect?
|
placeholder: What happened? What did you expect? / Was ist passiert? Was hast du erwartet?
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
id: version
|
id: version
|
||||||
attributes:
|
attributes:
|
||||||
label: Image version
|
label: Image version
|
||||||
description: Which image version do you use?
|
description: Which image version do you use? / Welche Version des Images verwendest du?
|
||||||
placeholder: v1.2.3
|
placeholder: v1.2.3
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: logs
|
id: logs
|
||||||
attributes:
|
attributes:
|
||||||
label: Docker logs
|
label: Docker logs / Docker Protokoll
|
||||||
description: Please provide the full Docker log output from your Docker container startup.
|
description: Please provide the full Docker log output from your Docker container startup. / Bitte stelle das komplette Docker Protokoll vom Start des Containers zur Verfügung.
|
||||||
render: shell
|
render: shell
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
2
.github/dependencies/.admin-version
vendored
2
.github/dependencies/.admin-version
vendored
@@ -1 +1 @@
|
|||||||
6.3.5
|
6.10.1
|
||||||
|
|||||||
2
.github/dependencies/.backitup-version
vendored
2
.github/dependencies/.backitup-version
vendored
@@ -1 +1 @@
|
|||||||
2.6.23
|
2.8.1
|
||||||
|
|||||||
2
.github/dependencies/.js-controller-version
vendored
2
.github/dependencies/.js-controller-version
vendored
@@ -1 +1 @@
|
|||||||
4.0.24
|
5.0.12
|
||||||
|
|||||||
2
.github/dependencies/.nodejs-version
vendored
2
.github/dependencies/.nodejs-version
vendored
@@ -1 +1 @@
|
|||||||
18.16.1
|
18.17.1
|
||||||
|
|||||||
@@ -1,68 +0,0 @@
|
|||||||
# Github action to build Docker image from main branch for iobroker/iobroker (tag: latest)
|
|
||||||
name: Build debian latest (iobroker)
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [released]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-latest-image:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Fetching latest release tag
|
|
||||||
run: |
|
|
||||||
LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')"
|
|
||||||
echo "Latest release tag : $LATESTRELEASE"
|
|
||||||
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Checkout repo
|
|
||||||
uses: actions/checkout@v3.5.3
|
|
||||||
with:
|
|
||||||
repository: 'buanet/ioBroker.docker'
|
|
||||||
ref: ${{ env.RELEASE_TAG }}
|
|
||||||
|
|
||||||
- name: Fetching version tag and date
|
|
||||||
id: version
|
|
||||||
run: |
|
|
||||||
VERSION="$(cat .VERSION)"
|
|
||||||
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
|
||||||
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
|
||||||
echo "This is the Version: $VERSION"
|
|
||||||
echo "version=$VERSION" >> $GITHUB_ENV
|
|
||||||
echo "This is the Major Version: $MAJORVERSION"
|
|
||||||
echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV
|
|
||||||
echo "This is the Buildnumber/Timestamp: $DATI"
|
|
||||||
echo "dati=$DATI" >> $GITHUB_ENV
|
|
||||||
# startup script
|
|
||||||
sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian/scripts/iobroker_startup.sh > ./debian/scripts/iobroker_startup.tmp
|
|
||||||
mv -f ./debian/scripts/iobroker_startup.tmp ./debian/scripts/iobroker_startup.sh
|
|
||||||
# amd64
|
|
||||||
sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" ./debian/node18/Dockerfile > ./debian/node18/Dockerfile.tmp
|
|
||||||
mv -f ./debian/node18/Dockerfile.tmp ./debian/node18/Dockerfile
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v2.2.0
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
id: buildx
|
|
||||||
uses: docker/setup-buildx-action@v2.9.1
|
|
||||||
|
|
||||||
- name: Login to DockerHub (iobroker)
|
|
||||||
uses: docker/login-action@v2.2.0
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKER_USER_IOB }}
|
|
||||||
password: ${{ secrets.DOCKER_PASS_IOB }}
|
|
||||||
|
|
||||||
- name: Build Docker image
|
|
||||||
uses: docker/build-push-action@v4.1.1
|
|
||||||
with:
|
|
||||||
context: ./debian
|
|
||||||
file: ./debian/node18/Dockerfile
|
|
||||||
push: true
|
|
||||||
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
|
|
||||||
tags: |
|
|
||||||
iobroker/iobroker:latest,
|
|
||||||
iobroker/iobroker:${{ env.majorversion }},
|
|
||||||
iobroker/iobroker:${{ env.version }}
|
|
||||||
|
|
||||||
97
.github/workflows/build-debian-image-latest.yml
vendored
97
.github/workflows/build-debian-image-latest.yml
vendored
@@ -1,97 +0,0 @@
|
|||||||
# Github action to build Docker image from main branch (tag: latest)
|
|
||||||
name: Build debian latest (buanet)
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [released]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-latest-image:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Fetching latest release tag
|
|
||||||
run: |
|
|
||||||
LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')"
|
|
||||||
echo "Latest release tag : $LATESTRELEASE"
|
|
||||||
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Checkout repo
|
|
||||||
uses: actions/checkout@v3.5.3
|
|
||||||
with:
|
|
||||||
repository: 'buanet/ioBroker.docker'
|
|
||||||
ref: ${{ env.RELEASE_TAG }}
|
|
||||||
|
|
||||||
- name: Fetching version tag and date
|
|
||||||
id: version
|
|
||||||
run: |
|
|
||||||
VERSION="$(cat .VERSION)"
|
|
||||||
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
|
||||||
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
|
||||||
echo "This is the Version: $VERSION"
|
|
||||||
echo "version=$VERSION" >> $GITHUB_ENV
|
|
||||||
echo "This is the Major Version: $MAJORVERSION"
|
|
||||||
echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV
|
|
||||||
echo "This is the Buildnumber/Timestamp: $DATI"
|
|
||||||
echo "dati=$DATI" >> $GITHUB_ENV
|
|
||||||
# startup script
|
|
||||||
sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian/scripts/iobroker_startup.sh > ./debian/scripts/iobroker_startup.tmp
|
|
||||||
mv -f ./debian/scripts/iobroker_startup.tmp ./debian/scripts/iobroker_startup.sh
|
|
||||||
# amd64
|
|
||||||
sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" ./debian/node18/Dockerfile > ./debian/node18/Dockerfile.tmp
|
|
||||||
mv -f ./debian/node18/Dockerfile.tmp ./debian/node18/Dockerfile
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v2.2.0
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
id: buildx
|
|
||||||
uses: docker/setup-buildx-action@v2.9.1
|
|
||||||
- name: Login to DockerHub (buanet)
|
|
||||||
uses: docker/login-action@v2.2.0
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
|
||||||
password: ${{ secrets.DOCKER_PASS }}
|
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
|
||||||
uses: docker/login-action@v2.2.0
|
|
||||||
with:
|
|
||||||
registry: ghcr.io
|
|
||||||
username: ${{ secrets.PACKAGES_USER }}
|
|
||||||
password: ${{ secrets.PACKAGES_PASS }}
|
|
||||||
|
|
||||||
- name: Build Docker image
|
|
||||||
uses: docker/build-push-action@v4.1.1
|
|
||||||
with:
|
|
||||||
context: ./debian
|
|
||||||
file: ./debian/node18/Dockerfile
|
|
||||||
#provenance: false
|
|
||||||
push: true
|
|
||||||
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
|
|
||||||
tags: |
|
|
||||||
buanet/iobroker:latest,
|
|
||||||
buanet/iobroker:${{ env.majorversion }},
|
|
||||||
buanet/iobroker:${{ env.version }},
|
|
||||||
ghcr.io/buanet/iobroker:latest,
|
|
||||||
ghcr.io/buanet/iobroker:${{ env.majorversion }},
|
|
||||||
ghcr.io/buanet/iobroker:${{ env.version }}
|
|
||||||
|
|
||||||
- name: Delete untagged images from GitHub packages
|
|
||||||
uses: actions/github-script@v6
|
|
||||||
with:
|
|
||||||
github-token: ${{ secrets.PACKAGES_PASS }}
|
|
||||||
script: |
|
|
||||||
const response = await github.request("GET /users/${{ env.OWNER }}/packages/container/${{ env.PACKAGE_NAME }}/versions",
|
|
||||||
{ per_page: ${{ env.PER_PAGE }}
|
|
||||||
});
|
|
||||||
for(version of response.data) {
|
|
||||||
if (version.metadata.container.tags.length == 0) {
|
|
||||||
console.log("delete " + version.id)
|
|
||||||
const deleteResponse = await github.request("DELETE /user/packages/container/${{ env.PACKAGE_NAME }}/versions/" + version.id, { });
|
|
||||||
console.log("status " + deleteResponse.status)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
env:
|
|
||||||
OWNER: buanet
|
|
||||||
PACKAGE_NAME: iobroker
|
|
||||||
PER_PAGE: 100
|
|
||||||
4
.github/workflows/build-debian12-beta.yml
vendored
4
.github/workflows/build-debian12-beta.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.0.0
|
uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
ref: ${{ env.RELEASE_TAG }}
|
ref: ${{ env.RELEASE_TAG }}
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.0.0
|
uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
ref: ${{ env.RELEASE_TAG }}
|
ref: ${{ env.RELEASE_TAG }}
|
||||||
|
|||||||
2
.github/workflows/build-debian12-dev.yml
vendored
2
.github/workflows/build-debian12-dev.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.0.0
|
uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
|
|
||||||
|
|||||||
176
.github/workflows/build-debian12-latest.yml
vendored
Normal file
176
.github/workflows/build-debian12-latest.yml
vendored
Normal file
@@ -0,0 +1,176 @@
|
|||||||
|
# Github action to build Debian12 image (Tag: latest)
|
||||||
|
name: Build Debian 12 Image (latest)
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [released]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-latest-for-buanet:
|
||||||
|
name: Build latest image for buanet
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Fetch latest release tag
|
||||||
|
run: |
|
||||||
|
LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')"
|
||||||
|
echo "Latest release tag : $LATESTRELEASE"
|
||||||
|
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v4.1.0
|
||||||
|
with:
|
||||||
|
repository: 'buanet/ioBroker.docker'
|
||||||
|
ref: ${{ env.RELEASE_TAG }}
|
||||||
|
|
||||||
|
- name: Set job variables
|
||||||
|
run: |
|
||||||
|
VERSION="$(cat .VERSION)"
|
||||||
|
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
||||||
|
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
||||||
|
# Log output and export as Github environment variable
|
||||||
|
echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}"
|
||||||
|
echo "[LOG] Image Version: $VERSION"
|
||||||
|
echo "version=$VERSION" >> $GITHUB_ENV
|
||||||
|
echo "[LOG] Major Image Version: $MAJORVERSION"
|
||||||
|
echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV
|
||||||
|
echo "[LOG] Buildnumber/Timestamp: $DATI"
|
||||||
|
echo "dati=$DATI" >> $GITHUB_ENV
|
||||||
|
# Set values in iobroker_startup.sh
|
||||||
|
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp
|
||||||
|
mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh
|
||||||
|
# Set values in Dockerfile
|
||||||
|
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||||
|
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
id: buildx
|
||||||
|
uses: docker/setup-buildx-action@v3.0.0
|
||||||
|
|
||||||
|
- name: Login to DockerHub (buanet)
|
||||||
|
uses: docker/login-action@v3.0.0
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
|
password: ${{ secrets.DOCKER_PASS }}
|
||||||
|
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
uses: docker/login-action@v3.0.0
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ secrets.PACKAGES_USER }}
|
||||||
|
password: ${{ secrets.PACKAGES_PASS }}
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@v5.0.0
|
||||||
|
with:
|
||||||
|
context: ./debian12
|
||||||
|
file: ./debian12/Dockerfile
|
||||||
|
push: true
|
||||||
|
platforms: |
|
||||||
|
linux/amd64
|
||||||
|
linux/arm/v7
|
||||||
|
linux/arm64/v8
|
||||||
|
tags: |
|
||||||
|
buanet/iobroker:latest,
|
||||||
|
buanet/iobroker:${{ env.majorversion }},
|
||||||
|
buanet/iobroker:${{ env.version }},
|
||||||
|
ghcr.io/buanet/iobroker:latest,
|
||||||
|
ghcr.io/buanet/iobroker:${{ env.majorversion }},
|
||||||
|
ghcr.io/buanet/iobroker:${{ env.version }}
|
||||||
|
provenance: false
|
||||||
|
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net)
|
||||||
|
|
||||||
|
build-latest-for-iobroker:
|
||||||
|
name: Build latest image for iobroker
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Fetch latest release tag
|
||||||
|
run: |
|
||||||
|
LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')"
|
||||||
|
echo "Latest release tag : $LATESTRELEASE"
|
||||||
|
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v4.1.0
|
||||||
|
with:
|
||||||
|
repository: 'buanet/ioBroker.docker'
|
||||||
|
ref: ${{ env.RELEASE_TAG }}
|
||||||
|
|
||||||
|
- name: Set job variables
|
||||||
|
run: |
|
||||||
|
VERSION="$(cat .VERSION)"
|
||||||
|
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
||||||
|
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
||||||
|
# Log output and export as Github environment variable
|
||||||
|
echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}"
|
||||||
|
echo "[LOG] Image Version: $VERSION"
|
||||||
|
echo "version=$VERSION" >> $GITHUB_ENV
|
||||||
|
echo "[LOG] Major Image Version: $MAJORVERSION"
|
||||||
|
echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV
|
||||||
|
echo "[LOG] Buildnumber/Timestamp: $DATI"
|
||||||
|
echo "dati=$DATI" >> $GITHUB_ENV
|
||||||
|
# Set values in iobroker_startup.sh
|
||||||
|
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp
|
||||||
|
mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh
|
||||||
|
# Set values in Dockerfile
|
||||||
|
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||||
|
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
id: buildx
|
||||||
|
uses: docker/setup-buildx-action@v3.0.0
|
||||||
|
|
||||||
|
- name: Login to DockerHub (buanet)
|
||||||
|
uses: docker/login-action@v3.0.0
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USER_IOB }}
|
||||||
|
password: ${{ secrets.DOCKER_PASS_IOB }}
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@v5.0.0
|
||||||
|
with:
|
||||||
|
context: ./debian12
|
||||||
|
file: ./debian12/Dockerfile
|
||||||
|
push: false ##### For first test of new workflow
|
||||||
|
platforms: |
|
||||||
|
linux/amd64
|
||||||
|
linux/arm/v7
|
||||||
|
linux/arm64/v8
|
||||||
|
tags: |
|
||||||
|
iobroker/iobroker:latest,
|
||||||
|
iobroker/iobroker:${{ env.majorversion }},
|
||||||
|
iobroker/iobroker:${{ env.version }},
|
||||||
|
provenance: false
|
||||||
|
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net)
|
||||||
|
|
||||||
|
delete-untagged-images:
|
||||||
|
if: ${{ always() }}
|
||||||
|
needs: [build-latest-for-buanet, build-latest-for-iobroker]
|
||||||
|
name: Delete untagged images from GitHub Container Registry
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Delete images
|
||||||
|
uses: actions/github-script@v6.4.1
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.PACKAGES_PASS }}
|
||||||
|
script: |
|
||||||
|
const response = await github.request("GET /users/${{ env.OWNER }}/packages/container/${{ env.PACKAGE_NAME }}/versions",
|
||||||
|
{ per_page: ${{ env.PER_PAGE }}
|
||||||
|
});
|
||||||
|
for(version of response.data) {
|
||||||
|
if (version.metadata.container.tags.length == 0) {
|
||||||
|
console.log("delete " + version.id)
|
||||||
|
const deleteResponse = await github.request("DELETE /user/packages/container/${{ env.PACKAGE_NAME }}/versions/" + version.id, { });
|
||||||
|
console.log("status " + deleteResponse.status)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
env:
|
||||||
|
OWNER: buanet
|
||||||
|
PACKAGE_NAME: iobroker
|
||||||
|
PER_PAGE: 100
|
||||||
2
.github/workflows/update-docker-readme.yml
vendored
2
.github/workflows/update-docker-readme.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
update-docker-readme:
|
update-docker-readme:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.0.0
|
- uses: actions/checkout@v4.1.0
|
||||||
|
|
||||||
- name: Update Docker Hub Readme (buanet)
|
- name: Update Docker Hub Readme (buanet)
|
||||||
uses: peter-evans/dockerhub-description@v3.4.2
|
uses: peter-evans/dockerhub-description@v3.4.2
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Check ioBroker versions
|
name: Version Checks
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@@ -10,12 +10,26 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.0.0
|
uses: actions/checkout@v4.1.0
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
token: ${{ secrets.ACTIONS_PAT }}
|
token: ${{ secrets.ACTIONS_PAT }}
|
||||||
|
|
||||||
- name: Fetch ioBroker versions
|
- name: Get and write version
|
||||||
|
id: version
|
||||||
|
run: |
|
||||||
|
LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')"
|
||||||
|
echo "iobroker=iobroker/iobroker:$LATESTRELEASE" >> $GITHUB_ENV
|
||||||
|
echo "baseimage=library/debian:bookworm-slim" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Docker Baseimage Checker
|
||||||
|
id: baseimage
|
||||||
|
uses: mkumatag/container-image-updater-action@v1.0.5
|
||||||
|
with:
|
||||||
|
base-image: '${{ env.baseimage }}'
|
||||||
|
image: '${{ env.iobroker }}'
|
||||||
|
|
||||||
|
- name: Fetch ioBroker and nodejs versions
|
||||||
run: |
|
run: |
|
||||||
curl -sL https://repo.iobroker.live/sources-dist.json | \
|
curl -sL https://repo.iobroker.live/sources-dist.json | \
|
||||||
jq -r '."js-controller".version' > .github/dependencies/.js-controller-version
|
jq -r '."js-controller".version' > .github/dependencies/.js-controller-version
|
||||||
@@ -45,18 +59,10 @@ jobs:
|
|||||||
git commit -am "new ioBroker versions"
|
git commit -am "new ioBroker versions"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
- name: Trigger build debian latest (buanet)
|
- name: Trigger Build Debian 12 Image (latest)
|
||||||
if: steps.git-check.outputs.modified == 'true'
|
if: steps.baseimage.outputs.needs-update == 'true' || steps.git-check.outputs.modified == 'true'
|
||||||
uses: benc-uk/workflow-dispatch@v1.2
|
uses: benc-uk/workflow-dispatch@v1.2
|
||||||
with:
|
with:
|
||||||
workflow: Build debian latest (buanet)
|
workflow: Build Debian 12 Image (latest)
|
||||||
repo: buanet/ioBroker.docker
|
|
||||||
token: ${{ secrets.ACTIONS_PAT }}
|
|
||||||
|
|
||||||
- name: Trigger build debian latest (iobroker)
|
|
||||||
if: steps.git-check.outputs.modified == 'true'
|
|
||||||
uses: benc-uk/workflow-dispatch@v1.2
|
|
||||||
with:
|
|
||||||
workflow: Build debian latest (iobroker)
|
|
||||||
repo: buanet/ioBroker.docker
|
repo: buanet/ioBroker.docker
|
||||||
token: ${{ secrets.ACTIONS_PAT }}
|
token: ${{ secrets.ACTIONS_PAT }}
|
||||||
17
CHANGELOG.md
17
CHANGELOG.md
@@ -1,14 +1,19 @@
|
|||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
### v9.0.0-beta.1 (24.09.2023)
|
### v9.0.0 (09.10.2023)
|
||||||
|
* update official docs
|
||||||
|
* v9.0.0-beta.2 (28.09.2023)
|
||||||
|
* fix issue with unlocking features in backitup ([#381](https://github.com/buanet/ioBroker.docker/issues/381))
|
||||||
|
* fix issue with fresh initializing iobroker
|
||||||
|
* v9.0.0-beta.1 (24.09.2023)
|
||||||
* remove special settings script and env for zwave ([#377](https://github.com/buanet/ioBroker.docker/issues/377))
|
* remove special settings script and env for zwave ([#377](https://github.com/buanet/ioBroker.docker/issues/377))
|
||||||
* simplify ci/ reduce gh actions
|
* simplify ci/ reduce gh actions
|
||||||
* ignore errors in "silent cleanup" on first start ([#369](https://github.com/buanet/ioBroker.docker/issues/369))
|
* ignore errors in "silent cleanup" on first start ([#369](https://github.com/buanet/ioBroker.docker/issues/369))
|
||||||
* cleanup/ restructure repo
|
* cleanup/ restructure repo
|
||||||
* update nodejs setup process
|
* update nodejs setup process
|
||||||
* update base image to debian 12 (bookworm)
|
* update base image to debian 12 (bookworm)
|
||||||
* improve security by avoiding root (exept startup script itself)
|
* improve security by avoiding root (except startup script itself)
|
||||||
* restrict iobroker commanline commands (start/ stop/ node fix)
|
* restrict iobroker command line commands (start/ stop/ node fix)
|
||||||
* integrate maintenance script into iobroker command
|
* integrate maintenance script into iobroker command
|
||||||
* move container config files location
|
* move container config files location
|
||||||
|
|
||||||
@@ -148,7 +153,7 @@
|
|||||||
### v5.1.0 (2020-11-05)
|
### v5.1.0 (2020-11-05)
|
||||||
* v5.0.2-beta (2020-07-28)
|
* v5.0.2-beta (2020-07-28)
|
||||||
* added docker tag for major version latest
|
* added docker tag for major version latest
|
||||||
* extend readme.md docu
|
* extend readme.md docs
|
||||||
* added maintenance script
|
* added maintenance script
|
||||||
* added container health check
|
* added container health check
|
||||||
* fixed configuration procedure and logging for objects and states db setup
|
* fixed configuration procedure and logging for objects and states db setup
|
||||||
@@ -197,7 +202,7 @@
|
|||||||
* v4.0.1-beta (2019-11-25)
|
* v4.0.1-beta (2019-11-25)
|
||||||
* added env for iobroker admin port
|
* added env for iobroker admin port
|
||||||
* added env for usb-devices (setting permissions)
|
* added env for usb-devices (setting permissions)
|
||||||
* updateing prerequisites for iobroker installation
|
* updating prerequisites for iobroker installation
|
||||||
* some small code fixes
|
* some small code fixes
|
||||||
|
|
||||||
### v4.0.0 (2019-10-25)
|
### v4.0.0 (2019-10-25)
|
||||||
@@ -292,7 +297,7 @@
|
|||||||
* added git package
|
* added git package
|
||||||
|
|
||||||
### v0.1.0 (2017-03-08)
|
### v0.1.0 (2017-03-08)
|
||||||
* moved avahi-start.sh to seperate directory
|
* moved avahi-start.sh to separate directory
|
||||||
* fixed timezone issue (sets now timezone to Europe/Berlin)
|
* fixed timezone issue (sets now timezone to Europe/Berlin)
|
||||||
|
|
||||||
### v0.0.2 (2017-03-06)
|
### v0.0.2 (2017-03-06)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2017-2022 André Germann
|
Copyright (c) 2017-2023 André Germann
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
15
README.md
15
README.md
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
[](https://github.com/buanet/ioBroker.docker/releases)
|
[](https://github.com/buanet/ioBroker.docker/releases)
|
||||||
[](https://github.com/buanet/ioBroker.docker/releases)
|
[](https://github.com/buanet/ioBroker.docker/releases)
|
||||||
[](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian-image-latest.yml)
|
[](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian12-latest.yml)
|
||||||
[](https://github.com/buanet/ioBroker.docker/issues)
|
[](https://github.com/buanet/ioBroker.docker/issues)
|
||||||
[](https://github.com/buanet/ioBroker.docker/pulls)
|
[](https://github.com/buanet/ioBroker.docker/pulls)
|
||||||
[](https://github.com/buanet/ioBroker.docker/discussions)<br>
|
[](https://github.com/buanet/ioBroker.docker/discussions)<br>
|
||||||
@@ -47,22 +47,21 @@ You can pull the Docker image from:
|
|||||||
|
|
||||||
### Where can I get help?
|
### Where can I get help?
|
||||||
|
|
||||||
If you have any questions or need help please visit the ioBroker community:
|
If you have any questions or need help take a look at the [Discussions](https://github.com/buanet/ioBroker.docker/discussions) or join the ioBroker community:
|
||||||
* [ioBroker forum](https://forum.iobroker.net/)
|
* [ioBroker forum](https://forum.iobroker.net/)
|
||||||
* [Discord channel](https://discord.gg/Ne3y6fUac3)
|
* [Discord channel](https://discord.gg/5jGWNKnpZ8)
|
||||||
* [Facebook group](https://www.facebook.com/groups/440499112958264/)
|
* [Facebook group](https://www.facebook.com/groups/440499112958264/)
|
||||||
* [Telegram channel](https://t.me/+Xfjuou6-LztkOTBi)
|
|
||||||
|
|
||||||
### How to report an issue or request a feature?
|
### How to report an issue or request a feature?
|
||||||
|
|
||||||
If you think you found an issue let us know by opening a [GitHub issue](https://github.com/buanet/ioBroker.docker/issues). Make sure you have googled it before.
|
If you think you found an issue let us know by opening a [GitHub Issue](https://github.com/buanet/ioBroker.docker/issues).
|
||||||
Please do not use the issues for support questions. Not every error message is worth a new report. Use [discussions](https://github.com/buanet/ioBroker.docker/discussions) if you are not sure.
|
Please do not use the issues for support questions. Not every error message is worth a new report. Use [Discussions](https://github.com/buanet/ioBroker.docker/discussions) if you are not sure.
|
||||||
|
|
||||||
## :eyes: Miscellaneous
|
## :eyes: Miscellaneous
|
||||||
|
|
||||||
### Beta testing
|
### Beta testing
|
||||||
|
|
||||||
If you want to get the newest features and changes feel free to use/ test the beta version of the Docker image. For more details and beta support join us at "beta testing & feedback" > "docker-image" on the [ioBroker Discord channel](https://discord.gg/Ne3y6fUac3).
|
If you want to get the newest features and changes feel free to use/ test the beta version of the Docker image. For more details and beta support join us at "beta testing & feedback" > "docker-image" at the [ioBroker Discord channel](https://discord.gg/5jGWNKnpZ8).
|
||||||
|
|
||||||
### Support the project
|
### Support the project
|
||||||
|
|
||||||
@@ -79,7 +78,7 @@ Moved to [CHANGELOG.md](CHANGELOG.md).
|
|||||||
|
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2017-2022 André Germann
|
Copyright (c) 2017-2023 André Germann
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
@@ -71,7 +71,6 @@ RUN apt-get update && apt-get upgrade -y \
|
|||||||
&& usermod -u 1000 iobroker \
|
&& usermod -u 1000 iobroker \
|
||||||
&& groupmod -g 1000 iobroker \
|
&& groupmod -g 1000 iobroker \
|
||||||
&& chown root:iobroker /usr/sbin/gosu \
|
&& chown root:iobroker /usr/sbin/gosu \
|
||||||
#&& chmod +s /usr/sbin/gosu \
|
|
||||||
# Set permissions and ownership
|
# Set permissions and ownership
|
||||||
&& chown -R iobroker:iobroker /opt/scripts /opt/userscripts \
|
&& chown -R iobroker:iobroker /opt/scripts /opt/userscripts \
|
||||||
&& chmod 755 /opt/scripts/*.sh \
|
&& chmod 755 /opt/scripts/*.sh \
|
||||||
|
|||||||
@@ -306,6 +306,7 @@ fi
|
|||||||
# if restored a fresh install, running "iob setup first" for database init (but not on slaves!), otherwise check database connection
|
# if restored a fresh install, running "iob setup first" for database init (but not on slaves!), otherwise check database connection
|
||||||
if [[ -f /opt/iobroker/.fresh_install && "$multihost" != "slave" ]]; then
|
if [[ -f /opt/iobroker/.fresh_install && "$multihost" != "slave" ]]; then
|
||||||
echo -n "Initializing a fresh installation of ioBroker... "
|
echo -n "Initializing a fresh installation of ioBroker... "
|
||||||
|
if [[ ! -d "/opt/iobroker/log" ]]; then gosu iobroker mkdir "/opt/iobroker/log"; fi
|
||||||
set +e
|
set +e
|
||||||
bash iob setup first > /opt/iobroker/log/iob_setup_first.log 2>&1
|
bash iob setup first > /opt/iobroker/log/iob_setup_first.log 2>&1
|
||||||
return=$?
|
return=$?
|
||||||
@@ -446,6 +447,7 @@ fi
|
|||||||
if [[ "$backitup" == "true" ]]; then
|
if [[ "$backitup" == "true" ]]; then
|
||||||
echo -n "IOB_BACKITUP_EXTDB is \"true\". Unlocking features..."
|
echo -n "IOB_BACKITUP_EXTDB is \"true\". Unlocking features..."
|
||||||
echo "true" > /opt/.docker_config/.backitup
|
echo "true" > /opt/.docker_config/.backitup
|
||||||
|
echo "true" > /opt/scripts/.docker_config/.backitup # old path, needed until changed in backitup
|
||||||
echo "Done."
|
echo "Done."
|
||||||
echo " "
|
echo " "
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ pkill_timeout=10 # timeout for stopping iobroker in seconds
|
|||||||
|
|
||||||
# check for user root
|
# check for user root
|
||||||
if [ "$(id -u)" -eq 0 ]; then
|
if [ "$(id -u)" -eq 0 ]; then
|
||||||
echo "WARNING! This script should be executed as iobroker user! Please change user and try again."
|
echo "WARNING! This script should be executed as user "iobroker"! Please switch user and try again."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[](https://github.com/buanet/ioBroker.docker/releases)
|
[](https://github.com/buanet/ioBroker.docker/releases)
|
||||||
[](https://github.com/buanet/ioBroker.docker/releases)
|
[](https://github.com/buanet/ioBroker.docker/releases)
|
||||||
[](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian-image-latest.yml)
|
[](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian12-latest.yml)
|
||||||
[](https://github.com/buanet/ioBroker.docker/issues)
|
[](https://github.com/buanet/ioBroker.docker/issues)
|
||||||
[](https://github.com/buanet/ioBroker.docker/pulls)
|
[](https://github.com/buanet/ioBroker.docker/pulls)
|
||||||
[](https://github.com/buanet/ioBroker.docker/discussions)<br>
|
[](https://github.com/buanet/ioBroker.docker/discussions)<br>
|
||||||
@@ -18,12 +18,12 @@
|
|||||||
|
|
||||||
# Important note
|
# Important note
|
||||||
|
|
||||||
New major image versions (e.g. v6, v7, v8) always include a new major version of node! Although js-controller should handle this kind of upgrade fine, in some cases this still results in problems with some adapters. To avoid having trouble with this major version upgrades, it is always a good move to upgrade your container manually with backup and restore procedure. For more details please see the maintenance part of the [ioBroker Docker image docs](https://docs.buanet.de/iobroker-docker-image/docs/#maintenance).
|
New major image versions (e.g. v6, v7, v8) usually include a new major version of node! Although js-controller should handle this kind of upgrade fine, in some cases this still results in problems with some adapters. To avoid having trouble with this major version upgrades, it is always a good move to upgrade your container manually with backup and restore procedure. For more details please see the maintenance part of the [ioBroker Docker image docs](https://docs.buanet.de/iobroker-docker-image/docs/#maintenance).
|
||||||
|
|
||||||
# Quick reference
|
# Quick reference
|
||||||
|
|
||||||
* Maintained by: [buanet](https://github.com/buanet) and [ioBroker](https://github.com/ioBroker)
|
* Maintained by: [buanet](https://github.com/buanet) and [ioBroker](https://github.com/ioBroker)
|
||||||
* Where to get support: [ioBroker forum](https://forum.iobroker.net/), [Discord channel](https://discord.gg/HwUCwsH), [Telegram channel](https://t.me/+Xfjuou6-LztkOTBi), [Facebook group](https://www.facebook.com/groups/440499112958264)
|
* Where to get support: [ioBroker forum](https://forum.iobroker.net/), [Discord channel](https://discord.gg/5jGWNKnpZ8), [Facebook group](https://www.facebook.com/groups/440499112958264)
|
||||||
* Where to report issues: [Github Repository Issues](https://github.com/buanet/ioBroker.docker/issues)
|
* Where to report issues: [Github Repository Issues](https://github.com/buanet/ioBroker.docker/issues)
|
||||||
* Supported architectures: amd64, arm32v7, arm64v8
|
* Supported architectures: amd64, arm32v7, arm64v8
|
||||||
* Changelog: [Github Repository Changelog](https://github.com/buanet/ioBroker.docker/blob/main/CHANGELOG.md)
|
* Changelog: [Github Repository Changelog](https://github.com/buanet/ioBroker.docker/blob/main/CHANGELOG.md)
|
||||||
@@ -35,7 +35,8 @@ New major image versions (e.g. v6, v7, v8) always include a new major version of
|
|||||||
It is highly recommended not to use the `latest` tag for production, especially when using any kind of automated update procedure like watchtower. Please use the `latest-v[major_version]` tag instead.
|
It is highly recommended not to use the `latest` tag for production, especially when using any kind of automated update procedure like watchtower. Please use the `latest-v[major_version]` tag instead.
|
||||||
|
|
||||||
### Node 18 versions
|
### Node 18 versions
|
||||||
* [`v8.1.0`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile), [`latest-v8`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile), [`latest`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile)
|
* [`v9.0.0`](https://github.com/buanet/ioBroker.docker/blob/v9.0.0/debian12/Dockerfile), [`latest-v9`](https://github.com/buanet/ioBroker.docker/blob/v9.0.0/debian12/Dockerfile), [`latest`](https://github.com/buanet/ioBroker.docker/blob/v9.0.0/debian12/Dockerfile)
|
||||||
|
* [`v8.1.0`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile), [`latest-v8`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile),
|
||||||
* [`v8.0.1`](https://github.com/buanet/ioBroker.docker/blob/v8.0.1/debian/node18/Dockerfile)
|
* [`v8.0.1`](https://github.com/buanet/ioBroker.docker/blob/v8.0.1/debian/node18/Dockerfile)
|
||||||
* [`v8.0.0`](https://github.com/buanet/ioBroker.docker/blob/v8.0.0/debian/node18/Dockerfile)
|
* [`v8.0.0`](https://github.com/buanet/ioBroker.docker/blob/v8.0.0/debian/node18/Dockerfile)
|
||||||
|
|
||||||
@@ -47,7 +48,7 @@ It is highly recommended not to use the `latest` tag for production, especially
|
|||||||
# What is ioBroker?
|
# What is ioBroker?
|
||||||
|
|
||||||
IoBroker is a open source IoT platform written in JavaScript that easily connects smarthome components from different manufactures. With the help of plugins (called: "adapters") ioBroker is able to communicate with a big variety of IoT hardware and services using different protocols and APIs.<br>
|
IoBroker is a open source IoT platform written in JavaScript that easily connects smarthome components from different manufactures. With the help of plugins (called: "adapters") ioBroker is able to communicate with a big variety of IoT hardware and services using different protocols and APIs.<br>
|
||||||
All data is stored in a central database that all adapters can access. With this it is very easy to build up logical connections, automation scripts and beautiful visualisations.<br>
|
All data is stored in a central database that all adapters can access. With this it is very easy to build up logical connections, automation scripts and beautiful visualizations.<br>
|
||||||
For further details please check out [iobroker.net](https://www.iobroker.net).
|
For further details please check out [iobroker.net](https://www.iobroker.net).
|
||||||
|
|
||||||
# How to use this image?
|
# How to use this image?
|
||||||
@@ -114,7 +115,6 @@ You could use environment variables to auto configure your ioBroker container on
|
|||||||
### Activate special features:
|
### Activate special features:
|
||||||
|
|
||||||
* `AVAHI` (optional) Set `true` to install and activate avahi-daemon for supporting yahka adapter
|
* `AVAHI` (optional) Set `true` to install and activate avahi-daemon for supporting yahka adapter
|
||||||
* `ZWAVE` (optional) Set `true` to install openzwave to support zwave adapter
|
|
||||||
|
|
||||||
### Configure environment:
|
### Configure environment:
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@ You could use environment variables to auto configure your ioBroker container on
|
|||||||
* `LANGUAGE` (optional, default: de_DE:de) The following locales are pre-generated: de_DE:de, en_US:en
|
* `LANGUAGE` (optional, default: de_DE:de) The following locales are pre-generated: de_DE:de, en_US:en
|
||||||
* `LC_ALL` (optional, default: de_DE.UTF-8) The following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8
|
* `LC_ALL` (optional, default: de_DE.UTF-8) The following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8
|
||||||
* `OFFLINE_MODE` (optional) Set `true` if your container has no or limited internet connection
|
* `OFFLINE_MODE` (optional) Set `true` if your container has no or limited internet connection
|
||||||
* `PACKAGES` (optional) Install additional linux packages to your container, packages should be separated by whitespace like this: `package1 package2 package3`.
|
* `PACKAGES` (optional) Install additional Linux packages to your container, packages should be separated by whitespace like this: `package1 package2 package3`.
|
||||||
* `PERMISSION_CHECK` (optional, default: true) Set "false" to skip checking and correcting all relevant permissions on container startup (Use at own risk!!!)
|
* `PERMISSION_CHECK` (optional, default: true) Set "false" to skip checking and correcting all relevant permissions on container startup (Use at own risk!!!)
|
||||||
* `SETGID` (default: 1000) In some cases it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host
|
* `SETGID` (default: 1000) In some cases it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host
|
||||||
* `SETUID` (default: 1000) In some cases it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host
|
* `SETUID` (default: 1000) In some cases it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host
|
||||||
@@ -142,5 +142,5 @@ For more information about networking with Docker please refer to the [official
|
|||||||
|
|
||||||
# Support the Project
|
# Support the Project
|
||||||
|
|
||||||
If you like what you see please leave us stars and likes on our repos and join our growing community.
|
If you like what you see please leave us stars and likes on our repos and join our growing community.<br>
|
||||||
See you soon. :)
|
See you soon. :)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
[](https://github.com/buanet/ioBroker.docker/releases)
|
[](https://github.com/buanet/ioBroker.docker/releases)
|
||||||
[](https://github.com/buanet/ioBroker.docker/releases)
|
[](https://github.com/buanet/ioBroker.docker/releases)
|
||||||
[](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian-image-latest.yml)
|
[](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian12-latest.yml)
|
||||||
[](https://github.com/buanet/ioBroker.docker/issues)
|
[](https://github.com/buanet/ioBroker.docker/issues)
|
||||||
[](https://github.com/buanet/ioBroker.docker/pulls)
|
[](https://github.com/buanet/ioBroker.docker/pulls)
|
||||||
[](https://github.com/buanet/ioBroker.docker/discussions)<br>
|
[](https://github.com/buanet/ioBroker.docker/discussions)<br>
|
||||||
@@ -20,12 +20,12 @@
|
|||||||
|
|
||||||
# Important note
|
# Important note
|
||||||
|
|
||||||
New major image versions (e.g. v6, v7, v8) always include a new major version of node! Although js-controller should handle this kind of upgrade fine, in some cases this still results in problems with some adapters. To avoid having trouble with this major version upgrades, it is always a good move to upgrade your container manually with backup and restore procedure. For more details please see the maintenance part of the [ioBroker Docker image docs](https://docs.buanet.de/iobroker-docker-image/docs/#maintenance).
|
New major image versions (e.g. v6, v7, v8) usually include a new major version of node! Although js-controller should handle this kind of upgrade fine, in some cases this still results in problems with some adapters. To avoid having trouble with this major version upgrades, it is always a good move to upgrade your container manually with backup and restore procedure. For more details please see the maintenance part of the [ioBroker Docker image docs](https://docs.buanet.de/iobroker-docker-image/docs/#maintenance).
|
||||||
|
|
||||||
# Quick reference
|
# Quick reference
|
||||||
|
|
||||||
* Maintained by: [buanet](https://github.com/buanet) and [ioBroker](https://github.com/ioBroker)
|
* Maintained by: [buanet](https://github.com/buanet) and [ioBroker](https://github.com/ioBroker)
|
||||||
* Where to get support: [ioBroker forum](https://forum.iobroker.net/), [Discord channel](https://discord.gg/HwUCwsH), [Telegram channel](https://t.me/+Xfjuou6-LztkOTBi), [Facebook group](https://www.facebook.com/groups/440499112958264)
|
* Where to get support: [ioBroker forum](https://forum.iobroker.net/), [Discord channel](https://discord.gg/5jGWNKnpZ8), [Facebook group](https://www.facebook.com/groups/440499112958264)
|
||||||
* Where to report issues: [Github Repository Issues](https://github.com/buanet/ioBroker.docker/issues)
|
* Where to report issues: [Github Repository Issues](https://github.com/buanet/ioBroker.docker/issues)
|
||||||
* Supported architectures: amd64, arm32v7, arm64v8
|
* Supported architectures: amd64, arm32v7, arm64v8
|
||||||
* Changelog: [Github Repository Changelog](https://github.com/buanet/ioBroker.docker/blob/main/CHANGELOG.md)
|
* Changelog: [Github Repository Changelog](https://github.com/buanet/ioBroker.docker/blob/main/CHANGELOG.md)
|
||||||
@@ -37,7 +37,8 @@ New major image versions (e.g. v6, v7, v8) always include a new major version of
|
|||||||
It is highly recommended not to use the `latest` tag for production, especially when using any kind of automated update procedure like watchtower. Please use the `latest-v[major_version]` tag instead.
|
It is highly recommended not to use the `latest` tag for production, especially when using any kind of automated update procedure like watchtower. Please use the `latest-v[major_version]` tag instead.
|
||||||
|
|
||||||
### Node 18 versions
|
### Node 18 versions
|
||||||
* [`v8.1.0`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile), [`latest-v8`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile), [`latest`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile)
|
* [`v9.0.0`](https://github.com/buanet/ioBroker.docker/blob/v9.0.0/debian12/Dockerfile), [`latest-v9`](https://github.com/buanet/ioBroker.docker/blob/v9.0.0/debian12/Dockerfile), [`latest`](https://github.com/buanet/ioBroker.docker/blob/v9.0.0/debian12/Dockerfile)
|
||||||
|
* [`v8.1.0`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile), [`latest-v8`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile),
|
||||||
* [`v8.0.1`](https://github.com/buanet/ioBroker.docker/blob/v8.0.1/debian/node18/Dockerfile)
|
* [`v8.0.1`](https://github.com/buanet/ioBroker.docker/blob/v8.0.1/debian/node18/Dockerfile)
|
||||||
* [`v8.0.0`](https://github.com/buanet/ioBroker.docker/blob/v8.0.0/debian/node18/Dockerfile)
|
* [`v8.0.0`](https://github.com/buanet/ioBroker.docker/blob/v8.0.0/debian/node18/Dockerfile)
|
||||||
|
|
||||||
@@ -49,7 +50,7 @@ It is highly recommended not to use the `latest` tag for production, especially
|
|||||||
# What is ioBroker?
|
# What is ioBroker?
|
||||||
|
|
||||||
IoBroker is a open source IoT platform written in JavaScript that easily connects smarthome components from different manufactures. With the help of plugins (called: "adapters") ioBroker is able to communicate with a big variety of IoT hardware and services using different protocols and APIs.<br>
|
IoBroker is a open source IoT platform written in JavaScript that easily connects smarthome components from different manufactures. With the help of plugins (called: "adapters") ioBroker is able to communicate with a big variety of IoT hardware and services using different protocols and APIs.<br>
|
||||||
All data is stored in a central database that all adapters can access. With this it is very easy to build up logical connections, automation scripts and beautiful visualisations.<br>
|
All data is stored in a central database that all adapters can access. With this it is very easy to build up logical connections, automation scripts and beautiful visualizations.<br>
|
||||||
For further details please check out [iobroker.net](https://www.iobroker.net).
|
For further details please check out [iobroker.net](https://www.iobroker.net).
|
||||||
|
|
||||||
# How to use this image?
|
# How to use this image?
|
||||||
@@ -116,7 +117,6 @@ You could use environment variables to auto configure your ioBroker container on
|
|||||||
### Activate special features:
|
### Activate special features:
|
||||||
|
|
||||||
* `AVAHI` (optional) Set `true` to install and activate avahi-daemon for supporting yahka adapter
|
* `AVAHI` (optional) Set `true` to install and activate avahi-daemon for supporting yahka adapter
|
||||||
* `ZWAVE` (optional) Set `true` to install openzwave to support zwave adapter
|
|
||||||
|
|
||||||
### Configure environment:
|
### Configure environment:
|
||||||
|
|
||||||
@@ -125,7 +125,7 @@ You could use environment variables to auto configure your ioBroker container on
|
|||||||
* `LANGUAGE` (optional, default: de_DE:de) The following locales are pre-generated: de_DE:de, en_US:en
|
* `LANGUAGE` (optional, default: de_DE:de) The following locales are pre-generated: de_DE:de, en_US:en
|
||||||
* `LC_ALL` (optional, default: de_DE.UTF-8) The following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8
|
* `LC_ALL` (optional, default: de_DE.UTF-8) The following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8
|
||||||
* `OFFLINE_MODE` (optional) Set `true` if your container has no or limited internet connection
|
* `OFFLINE_MODE` (optional) Set `true` if your container has no or limited internet connection
|
||||||
* `PACKAGES` (optional) Install additional linux packages to your container, packages should be separated by whitespace like this: `package1 package2 package3`.
|
* `PACKAGES` (optional) Install additional Linux packages to your container, packages should be separated by whitespace like this: `package1 package2 package3`.
|
||||||
* `PERMISSION_CHECK` (optional, default: true) Set "false" to skip checking and correcting all relevant permissions on container startup (Use at own risk!!!)
|
* `PERMISSION_CHECK` (optional, default: true) Set "false" to skip checking and correcting all relevant permissions on container startup (Use at own risk!!!)
|
||||||
* `SETGID` (default: 1000) In some cases it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host
|
* `SETGID` (default: 1000) In some cases it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host
|
||||||
* `SETUID` (default: 1000) In some cases it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host
|
* `SETUID` (default: 1000) In some cases it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host
|
||||||
|
|||||||
Reference in New Issue
Block a user