Guide for Version Control with Ignition

@Eric_Knorr , I appreciate the guide. I’m running into an issue that seems tied to the bind mounts I defined for Git. Each time I run docker compose up to recreate a container, the startup takes a long time, and a new temporary user profile is generated—eventually leaving me with a long list of these profiles.

This was my original volumes definition based off of the new guide

volumes:
      # gateway configuration
      - ./services/ignition/config:/usr/local/bin/ignition/data/config
      # gateway projects
      - ./services/ignition/projects:/usr/local/bin/ignition/data/projects

After experimenting, I found that adding a named volume alongside the Git bind mounts fixes the problem. Startup time improves, and no extra temporary user profiles are created.

This works much better…

    volumes:
      - type: volume
        source: gateway_data
        target: /usr/local/bin/ignition/data
      # gateway configuration
      - ./services/ignition/config:/usr/local/bin/ignition/data/config
      # gateway projects
      - ./services/ignition/projects:/usr/local/bin/ignition/data/projects

 volumes:
  gateway_data:

Should this be the way forward?