Skip to content

Define configuration structure for all Database Lab products

Goal

There are at least 3 components that have configuration:

  • Database Lab Engine
  • DB Migration Checker
  • Joe

In addition, there is a need for storing metadata: state of running containers/clones/sessions. It would be convenient to keep and mount them as a single location (for example, a directory ~ / .dblab)

TODO / How to implement

  • Explore the opportunity to standardize paths and names
  • Describe the tree structure and configuration files (name, place) that are required to fully function
  • Make sure that configuration files are not mounted in clone containers

Example

Host machine:

 ~/.dblab/
    cli/
     - cli.yml

    engine/
      configs/
        - server.yml
      meta/
        - state.json

    joe/
      configs/
        - joe.yml
      meta/
        - sessions.json

    ci_checker/
      configs/
        - ci_checker.yml

Acceptance criteria

Edited by Artyom Kartasov