mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
🔨 Modify code-server service with updated CLI arguments
This commit is contained in:
parent
318d3ecd46
commit
e617483408
1 changed files with 1 additions and 2 deletions
|
@ -11,14 +11,13 @@ options+=(--port 8443)
|
|||
options+=(--user-data-dir "/data/vscode")
|
||||
options+=(--extensions-dir "/data/vscode/extensions")
|
||||
options+=(--host 127.0.0.1)
|
||||
options+=(--allow-http)
|
||||
|
||||
if bashio::config.true 'disable_telemetry'; then
|
||||
options+=(--disable-telemetry)
|
||||
fi
|
||||
|
||||
# Disable code authentication, we use HA authentication
|
||||
options+=(--no-auth)
|
||||
options+=(--auth none)
|
||||
|
||||
# Export env variables for the Home Assistant extension
|
||||
export HASS_SERVER="http://hassio/homeassistant"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue