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

Added volume mappings for oauth/github/smtp config ymls #60

Merged
merged 8 commits into from
Dec 6, 2023

Conversation

najclark
Copy link
Contributor

Fixes bug where oauth, github, and smtp integrations lose their configuration when the container restarts. This PR adds volume mapping for each of the respective config.ymls so their config is preserved.

@damianhxy
Copy link
Member

Running docker build results in the volume mapping creating a directory since the config files don't exist by default on the host machine.

We need to ensure that the config files exist - perhaps by adding a new task to the Makefile that creates these files if they don't already exist. Then, they will be created when the user runs make update

@damianhxy
Copy link
Member

You can take a look at what #56 did

Copy link
Member

@damianhxy damianhxy left a comment

Choose a reason for hiding this comment

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

Verified that configs persist across builds (although they'll probably get wiped the very first time this update is applied -- no way around it)

LGTM

@damianhxy
Copy link
Member

@coderabbitai review

@najclark najclark merged commit bb94a2c into master Dec 6, 2023
@najclark najclark deleted the config-volumes branch December 6, 2023 02:16
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.

None yet

2 participants