mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-03-08 05:21:51 +00:00
0nikola1 patch octoprint proxy (#89)
* Update and rename config.json to config.yaml * Update run.sh * FIxed addon startup issue
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
{
|
||||
"name": "OctoPrint Proxy",
|
||||
"version": "1.0.0",
|
||||
"slug": "octoprint_proxy",
|
||||
"description": "Access OctoPrint from within Home Assistant",
|
||||
"url": "https://github.com/MaxWinterstein/homeassistant-addons/",
|
||||
"ingress": true,
|
||||
"ingress_port": 80,
|
||||
"panel_title": "OctoPrint",
|
||||
"panel_icon": "mdi:printer-3d-nozzle",
|
||||
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
|
||||
"startup": "application",
|
||||
"boot": "auto",
|
||||
"options": {
|
||||
"octoprint_host": "octopi",
|
||||
"octoprint_port": "443",
|
||||
"ssl": {
|
||||
"enabled": true,
|
||||
"verify": false
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"octoprint_host": "str",
|
||||
"octoprint_port": "port",
|
||||
"ssl": {
|
||||
"enabled": "bool",
|
||||
"verify": "bool"
|
||||
}
|
||||
},
|
||||
"hassio_api": false
|
||||
}
|
||||
31
octoprint-proxy/config.yaml
Normal file
31
octoprint-proxy/config.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
name: OctoPrint Proxy
|
||||
version: 1.0.1
|
||||
slug: octoprint_proxy
|
||||
description: Access OctoPrint from within Home Assistant
|
||||
url: https://github.com/MaxWinterstein/homeassistant-addons/
|
||||
ingress: true
|
||||
ingress_port: 80
|
||||
panel_title: OctoPrint
|
||||
panel_icon: mdi:printer-3d-nozzle
|
||||
arch:
|
||||
- armhf
|
||||
- armv7
|
||||
- aarch64
|
||||
- amd64
|
||||
- i386
|
||||
startup: application
|
||||
boot: auto
|
||||
init: false
|
||||
options:
|
||||
octoprint_host: octopi
|
||||
octoprint_port: '443'
|
||||
ssl:
|
||||
enabled: true
|
||||
verify: false
|
||||
schema:
|
||||
octoprint_host: str
|
||||
octoprint_port: port
|
||||
ssl:
|
||||
enabled: bool
|
||||
verify: bool
|
||||
hassio_api: false
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bashio
|
||||
#!/usr/bin/with-contenv bashio
|
||||
set -e
|
||||
|
||||
bashio::log.info "Setting octoprint host: $(bashio::config octoprint_host)"
|
||||
|
||||
Reference in New Issue
Block a user