FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
  • Hal Blackburn's avatar
    1b925f33
    refactor: make the guidebook working_dir configurable · 1b925f33
    Hal Blackburn authored
    When the workspace/git checkout is a container volume, it can't be
    mounted with a regular bind mount, as the compose config needs to know
    the volume name, mount point, and subdirectory within the mount point to
    use as the working directory.
    
    This commit allows these 3 options to be configured using environment
    variables, so that a devcontainer config can override the guidebook
    service mounts to reference the devcontainer's volume. The defaults
    continue to use the local bind mount, so using the compose config without
    additional configuration will work as before.
    Verified
    1b925f33
    History
    refactor: make the guidebook working_dir configurable
    Hal Blackburn authored
    When the workspace/git checkout is a container volume, it can't be
    mounted with a regular bind mount, as the compose config needs to know
    the volume name, mount point, and subdirectory within the mount point to
    use as the working directory.
    
    This commit allows these 3 options to be configured using environment
    variables, so that a devcontainer config can override the guidebook
    service mounts to reference the devcontainer's volume. The defaults
    continue to use the local bind mount, so using the compose config without
    additional configuration will work as before.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.