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

Point mysql to certs instead of copying them #176

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

ngan
Copy link
Contributor

@ngan ngan commented Apr 8, 2024

In #175, I made it so that the certs were copied from /var/lib/mysql/*.pem into /mysql-certs/*. This felt awkward at the time but I wanted to defer the fix since it wasn't that important. I'm revisit this now and in this PR, we're going to tell mysql where to find the certificates instead.

This means that we now generate the certificates directly into /mysql-certs/* -- so no more copying!

@ngan ngan force-pushed the single-certs-dir branch 3 times, most recently from 6ee961a to 7321988 Compare April 8, 2024 20:11
@@ -35,6 +35,7 @@ output_fold() {
function cleanup() {
echo
echo "::group::Shutting down services..."
docker compose logs db
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this because it helps a lot with debugging. It's a few extra log lines so figured we should just keep it instead of having to turn it on/off constantly.

@ngan ngan changed the title Point to certs directory instead of copying Point mysql to certs instead of copying them Apr 8, 2024
@composerinteralia composerinteralia merged commit fd5ded1 into trilogy-libraries:main Apr 8, 2024
11 checks passed
@ngan ngan deleted the single-certs-dir branch April 8, 2024 21:08
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