🔨 Modify code-server service with updated CLI arguments

This commit is contained in:
Franck Nijhof 2019-10-26 11:23:36 +02:00
parent 318d3ecd46
commit e617483408
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -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"