Skip to content

Add "local mode" to support locally defined content in a Labspace#132

Merged
mikesir87 merged 1 commit intomainfrom
add-local-mode-configurator
Nov 24, 2025
Merged

Add "local mode" to support locally defined content in a Labspace#132
mikesir87 merged 1 commit intomainfrom
add-local-mode-configurator

Conversation

@mikesir87
Copy link
Member

When a Labspace starts, it will, by default, clone the content from the content repo. However, there may be situations in which you want to skip this and use locally cloned content, such as running demos.

This PR provides the ability to configure the configurator service with a "local mode" option. In this scenario, there will be no remote git cloning. Instead, the content is mounted into the configurator and then copied into the content volume used in the Labspace.

Example Compose override

This override file will mount the parent directory into the Labspace and use it as the content source

services:
  configurator:
    volumes:
      - ../:/custom-content
    environment:
      LOCAL_MODE: "true"
      LOCAL_CONTENT_PATH: /custom-content

@mikesir87 mikesir87 merged commit dcb064d into main Nov 24, 2025
@mikesir87 mikesir87 deleted the add-local-mode-configurator branch November 24, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant