Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-apply config changes #402

Open
sbliven opened this issue Dec 17, 2024 · 0 comments
Open

Re-apply config changes #402

sbliven opened this issue Dec 17, 2024 · 0 comments

Comments

@sbliven
Copy link
Contributor

sbliven commented Dec 17, 2024

One of the difficulties using scicatlive for development is that docker compose makes some changes to config files, resulting in a dirty working directory. Trying to change branches while preserving these changes is challenging and changes often get lost, leading to a broken configuration.

I'm not sure how exactly to mitigate this, but it might involve some combination of the following

  1. Use environmental variables over files whenever possible
  2. Keep config files as minimal as possible. Don't include default values, only modified values
  3. Have a script that could be run inside the container to re-apply config changes. (Maybe merge_json.sh can already do this if you delete .finished?)
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

No branches or pull requests

1 participant