mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
devenv
This commit is contained in:
parent
c4dfcf92de
commit
2e61cf708e
3 changed files with 5 additions and 8 deletions
|
@ -75,7 +75,7 @@ RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master
|
|||
&& git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting \
|
||||
&& sed -i -e "s#bin/bash#bin/zsh#" /etc/passwd
|
||||
|
||||
WORKDIR /WORKDIR/
|
||||
WORKDIR /SERVER/
|
||||
|
||||
|
||||
# Install Python packages
|
||||
|
|
|
@ -23,17 +23,14 @@ map:
|
|||
read_only: false
|
||||
- type: all_addon_configs
|
||||
read_only: false
|
||||
path: /config
|
||||
- type: backup
|
||||
read_only: false
|
||||
path: /backup
|
||||
- type: homeassistant_config
|
||||
read_only: false
|
||||
path: /config
|
||||
- type: media
|
||||
read_only: false
|
||||
- type: share
|
||||
read_only: false
|
||||
- type: ssl
|
||||
read_only: false
|
||||
|
||||
services:
|
||||
- mysql:want
|
||||
- mqtt:want
|
||||
|
|
|
@ -12,4 +12,4 @@ export HASS_SERVER="http://supervisor/core"
|
|||
export HASS_TOKEN="${SUPERVISOR_TOKEN:-}"
|
||||
|
||||
# Run the code server
|
||||
exec code-server /WORKDIR
|
||||
exec code-server /SERVER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue