Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change from Docker Hub to ghcr #242

Merged
merged 6 commits into from
Nov 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions 3dprinter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

[2021.11.4]

- Change from Docker Hub to ghcr.io.

[2021.11.3]

- Add `py-netifaces` to image
Expand Down
2 changes: 2 additions & 0 deletions 3dprinter/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 3DPrinter add-on for Home Assistant

**There are currently issues with 32-bit installs, working on it.**

## About

This add-on allows you to connect to and control your 3D printer on a device running [Home Assistant](https://home-assistant.io/).
Expand Down
13 changes: 13 additions & 0 deletions 3dprinter/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-dockerfile
build_from:
aarch64: "ghcr.io/home-assistant/aarch64-base:3.14"
amd64: "ghcr.io/home-assistant/amd64-base:3.14"
armhf: "ghcr.io/home-assistant/armhf-base:3.14"
armv7: "ghcr.io/home-assistant/armv7-base:3.14"
i386: "ghcr.io/home-assistant/i386-base:3.14"
labels:
org.opencontainers.image.title: "3DPrinter"
org.opencontainers.image.description: "3DPrinter add-on for Home Assistant. OctoPrint, Klipper and more."
org.opencontainers.image.source: "https://github.com/fredrikbaberg/hassio-addons/tree/master/3dprinter"
args:
TEMPIO_VERSION: "2021.05.0"
65 changes: 0 additions & 65 deletions 3dprinter/config.json

This file was deleted.

57 changes: 57 additions & 0 deletions 3dprinter/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: 3DPrinter
version: "2021.11.4"
slug: 3dprinter
description: 3DPrinter add-on for Home Assistant. OctoPrint, Klipper and more.
url: "https://github.com/fredrikbaberg/hassio-addons/tree/master/3dprinter"
arch:
- armhf
- armv7
- aarch64
- amd64
- i386
ports:
5000/tcp: null
7125/tcp: null
8000/tcp: null
ports_description:
5000/tcp: OctoPrint WebUI
7125/tcp: Moonraker
8000/tcp: Camera WebUI
devices:
- /dev/mem
- /dev/gpiomem
privileged:
- SYS_RAWIO
video: true
video: true
gpio: true
usb: true
uart: true
options:
mjpg_input: "-i \"input_uvc.so -n\""
mjpg_output: "-o \"output_http.so -w /www_mjpg -p 8080\""
octoprint: true
mjpg_streamer: false
recovery: false
schema:
mjpg_input: "str"
mjpg_output: "str"
octoprint: "bool"
mjpg_streamer: "bool"
klipper: "bool?"
klipper_linux_host: "bool?"
moonraker: "bool?"
recovery: "bool"
image: "ghcr.io/fredrikbaberg/addon-3dprinter-{arch}"
tmpfs: true
ingress: true
panel_icon: "mdi:printer-3d"
panel_title: "3DPrinter"
panel_admin: false
backup_exclude:
- src/klipper
- src/moonraker
- python/klipper
- python/moonraker
stage: experimental
realtime: true
8 changes: 5 additions & 3 deletions iperf3/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,21 @@
"description": "iPerf3 add-on for Home Assistant",
"arch": ["armv7", "amd64", "armhf", "aarch64", "i386"],
"url": "https://github.com/fredrikbaberg/hassio-addons",
"startup": "application",
"boot": "manual",
"ports": {
"5201/tcp": 5201,
"5201/udp": 5201
},
"ports_description": {
"5201/tcp": "TCP",
"5201/udp": "UDP"
},
"homeassistant": "0.108.0",
"options": {
"arguments": "-s"
},
"schema": {
"arguments": "str"
},
"image": "fredrikbaberg/addon-iperf3-{arch}",
"stage": "stable"
"image": "fredrikbaberg/addon-iperf3-{arch}"
}
3 changes: 0 additions & 3 deletions mjpg-streamer/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": "mjpg-streamer add-on for Home Assistant",
"arch": ["armv7", "amd64", "armhf", "aarch64", "i386"],
"url": "https://github.com/fredrikbaberg/hassio-addons",
"startup": "application",
"boot": "manual",
"ports": {
"8000/tcp": null
Expand All @@ -23,9 +22,7 @@
"mjpg_input": "str"
},
"ingress": true,
"ingress_port": 8099,
"panel_icon": "mdi:camera",
"panel_title": "mjpg-streamer",
"stage": "stable",
"image": "fredrikbaberg/addon-mjpg-streamer-{arch}"
}
4 changes: 1 addition & 3 deletions octoprint-klipper/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
"amd64": "fredrikbaberg/addon-octoprint-next-amd64:0.4.5",
"aarch64": "fredrikbaberg/addon-octoprint-next-aarch64:0.4.5",
"i386": "fredrikbaberg/addon-octoprint-next-i386:0.4.5"
},
"squash": false,
"args": {}
}
}
2 changes: 0 additions & 2 deletions octoprint-klipper/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"description": "OctoPrint with Klipper add-on for Home Assistant",
"arch": ["armhf", "armv7", "amd64"],
"url": "https://github.com/fredrikbaberg/hassio-addons",
"startup": "application",
"webui": "http://[HOST]:[PORT:5000]",
"boot": "manual",
"ports": {
"5000": null,
Expand Down
4 changes: 1 addition & 3 deletions octoprint-next-dev/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"amd64": "homeassistant/amd64-base-debian:bullseye",
"armhf": "homeassistant/armhf-base-debian:bullseye",
"armv7": "homeassistant/armv7-base-debian:bullseye"
},
"squash": false,
"args": {}
}
}
3 changes: 0 additions & 3 deletions octoprint-next-dev/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"description": "OctoPrint add-on for Home Assistant",
"arch": ["amd64","armv7","armhf"],
"url": "https://github.com/fredrikbaberg/hassio-addons",
"startup": "application",
"webui": "[PROTO:option_name]://[HOST]:[PORT:5000]",
"boot": "auto",
"ports": {
"5000/tcp": null,
"8000/tcp": null
Expand Down
2 changes: 0 additions & 2 deletions octoprint-next/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"description": "Next version of OctoPrint add-on for Home Assistant",
"arch": ["armv7", "amd64", "armhf", "aarch64", "i386"],
"url": "https://github.com/fredrikbaberg/hassio-addons",
"startup": "application",
"webui": "http://[HOST]:[PORT:5000]",
"boot": "manual",
"ports": {
"5000": null,
Expand Down
3 changes: 0 additions & 3 deletions octoprint/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"description": "OctoPrint add-on for Home Assistant",
"arch": ["armv7", "amd64", "armhf", "aarch64", "i386"],
"url": "https://github.com/fredrikbaberg/hassio-addons",
"startup": "application",
"webui": "http://[HOST]:[PORT:5000]",
"boot": "manual",
"ports": {
"5000/tcp": null,
Expand Down Expand Up @@ -35,6 +33,5 @@
"panel_icon": "mdi:printer-3d",
"panel_title": "OctoPrint",
"image": "fredrikbaberg/octoprint-{arch}-image",
"stage": "stable",
"video": true
}
2 changes: 0 additions & 2 deletions octoprint_dev/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"description": "Development version of OctoPrint add-on for Home Assistant",
"arch": ["armv7", "amd64", "armhf", "aarch64", "i386"],
"url": "https://github.com/fredrikbaberg/hassio-addons",
"startup": "application",
"webui": "http://[HOST]:[PORT:5000]",
"boot": "manual",
"ports": {
"5000/tcp": null
Expand Down
4 changes: 1 addition & 3 deletions tsd/build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"build_from": {
"amd64": "homeassistant/amd64-base-debian:latest"
},
"squash": false,
"args": {}
}
}
4 changes: 0 additions & 4 deletions tsd/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": "TSD add-on for Home Assistant",
"arch": ["amd64"],
"url": "https://github.com/fredrikbaberg/hassio-addons",
"startup": "application",
"webui": "http://[HOST]:[PORT:3334]",
"boot": "manual",
"ports": {
Expand Down Expand Up @@ -54,10 +53,7 @@
"TELEGRAM_BOT_TOKEN": "password",
"PUSHOVER_APP_TOKEN": "password"
},
"ingress": false,
"panel_icon": "mdi:puzzle",
"panel_title": "TSD",
"panel_admin": true,
"backup_exclude": [
"/data/app",
"/data/web"
Expand Down