mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 02:31:34 +00:00
✨ Adds Hassio Ingress support + General refactor
This commit is contained in:
parent
5b716764fa
commit
2d030869ee
29 changed files with 321 additions and 248 deletions
25
README.md
25
README.md
|
@ -48,8 +48,7 @@ comparison to installing any other Hass.io add-on.
|
|||
1. Start the "Visual Studio Code" add-on.
|
||||
1. Check the logs of the "Visual Studio Code" add-on to see if everything went
|
||||
well.
|
||||
1. Click the "OPEN WEB UI" button to open Visual Studio Code and use the same
|
||||
username & password as you would use with the Home Assistant frontend.
|
||||
1. Click the "OPEN WEB UI" button to open Visual Studio Code.
|
||||
|
||||
**NOTE**: Do not add this repository to Hass.io, please use:
|
||||
`https://github.com/hassio-addons/repository`.
|
||||
|
@ -70,7 +69,7 @@ Example add-on configuration:
|
|||
"mariadb-client"
|
||||
],
|
||||
"init_commands": [
|
||||
"pip3 install yamllint"
|
||||
"ls -la"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
@ -99,6 +98,9 @@ you are troubleshooting.
|
|||
|
||||
Enables/Disables SSL (HTTPS). Set it `true` to enable it, `false` otherwise.
|
||||
|
||||
**Note**: _The SSL settings only apply to direct access and has no effect
|
||||
on the Hass.io Ingress service._
|
||||
|
||||
### Option: `certfile`
|
||||
|
||||
The certificate file to use for SSL.
|
||||
|
@ -133,23 +135,6 @@ authentication on the VSCode by setting it to `true`.
|
|||
**Note**: _We STRONGLY suggest, not to use this, even if this add-on is
|
||||
only exposed to your internal network. USE AT YOUR OWN RISK!_
|
||||
|
||||
## Embedding into Home Assistant
|
||||
|
||||
It is possible to embed VSCode directly into Home Assistant, allowing
|
||||
you to access your VSCode through the Home Assistant frontend.
|
||||
|
||||
Home Assistant provides the `panel_iframe` component, for these purposes.
|
||||
|
||||
Example configuration:
|
||||
|
||||
```yaml
|
||||
panel_iframe:
|
||||
vscode:
|
||||
title: Visual Studio Code
|
||||
icon: mdi:visual-studio-code
|
||||
url: https://address.to.your.hass.io:1337
|
||||
```
|
||||
|
||||
## Known issues and limitations
|
||||
|
||||
- This add-on currently only supports AMD64 machines, although we hope
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue