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

Change how sample environment variables are stored in the repository #793

Merged
merged 4 commits into from
Oct 28, 2023

Conversation

dchiller
Copy link
Collaborator

Currently, log-in credentials are passed to containers during the build process as environment variables, which are stored in a file .env. For deployment, this file is modified with secret credentials, meaning that there are changes to the .env file on servers that are not ever merged: subsequent deployments require pulling changes and re-applying these changes to the .env file.

This PR stores a sample environment variable configuration in the .env.sample file, which is copied to an untracked .env file upon deployment. This .env file can then remain untracked on the server and won't be rewritten when changes are pulled.

@dchiller dchiller marked this pull request as ready for review October 27, 2023 20:08
@dchiller dchiller merged commit 989200d into DDMAL:main Oct 28, 2023
2 checks passed
@dchiller dchiller deleted the change-env-handling branch October 28, 2023 12:25
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.

2 participants