saltyorg / Sandbox

Saltbox Sandbox
GNU General Public License v3.0
66 stars 92 forks source link

fix(code-server): mount the correct folders inside the container #270

Closed GiorgioBrux closed 1 year ago

GiorgioBrux commented 1 year ago

Description

As discussed in #sandbox-dev, the default bind mounts inside the container for the code-server role are currently wrong, this PR corrects them. /home/code-server/[...] paths have been renamed to /home/coder/[...] while the .local one has been removed since it's not mentioned in the official docs.

How has this been tested?

Untested.

keldian commented 1 year ago

Will the app settings and extensions persist without .local though? Seems that's where that sort of data lives.

GiorgioBrux commented 1 year ago

@keldian you are right, I was too quick to remove it. At least extensions are indeed stored here, so I added the folder back to the bind mount.