FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Add devcontainer config and adjust docker compose to work with docker volumes

Closed Hal Blackburn requested to merge devcontainer into master
  1. Feb 27, 2025
    • Hal Blackburn's avatar
      chore: add devcontainer configuration · cbfb1260
      Hal Blackburn authored
      This allows a dev environment for the the repository to be automatically
      created by vscode (or other devcontainer-using tools). It works with
      both local filesystem bind mount workspaces, and named container volumes.
      Verified
      cbfb1260
    • Hal Blackburn's avatar
      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
    • Hal Blackburn's avatar
      chore: remove version from docker-compose.yaml · 86e3f8a2
      Hal Blackburn authored
      Docker compose CLI now warns if a config contains a version property.
      Verified
      86e3f8a2
    • Hal Blackburn's avatar
      refactor: move plantuml logging config into image · f91b0cbb
      Hal Blackburn authored
      When the workspace/git checkout is a container volume it's tricky to
      mount a single file from the volume into the plantuml container. However
      referencing the file when building the image is simple, so the logging
      config is now baked into the image at build time.
      Verified
      f91b0cbb
Loading