Skip to content

Conversation

@MaryamMehd
Copy link
Collaborator

No description provided.

This change implements runtime configuration support following the same
pattern used in SMART-EHR-Launcher.

Changes:
- Updated Dockerfile to remove build-time VITE_* environment variables
- Dockerfile now uses multi-stage build with nginx for production
- Added config.docker.json as an example configuration file
- Updated docker-compose.yaml to use volume mounts for config.json
- Added inAppPopulate option to ConfigFile interface
- Updated config.ts with new property and validation
- Updated public/config.json with new property
- Added comprehensive Kubernetes ConfigMap documentation

Benefits:
- Single Docker image can be deployed across multiple environments
- No rebuilds required when changing configuration
- Kubernetes-native ConfigMap support
- Configuration changes only require pod restart, not image rebuild

// (Optional) Feature flag to enable/disable in-app population functionality
// Defaults to true if not specified
inAppPopulate?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a search for inAppPopulate in the repo and it doesn't seem to be referred to anywhere - so maybe this variable doesn't need to be added? Correct me if I'm missing anything

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.

4 participants