Skip to content

Use environment variable for mysql server availability check in dockerfile entrypoint (FINERACT-1163)#1947

Closed
phongnguyen-monex wants to merge 1 commit intoapache:developfrom
phongnguyen-monex:FINERACT-1163
Closed

Use environment variable for mysql server availability check in dockerfile entrypoint (FINERACT-1163)#1947
phongnguyen-monex wants to merge 1 commit intoapache:developfrom
phongnguyen-monex:FINERACT-1163

Conversation

@phongnguyen-monex
Copy link
Contributor

@phongnguyen-monex phongnguyen-monex commented Nov 3, 2021

Description

Get the database location from environment variable instead of using hardcoded values FINERACT-1163

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Write the commit message as per https://github.com/apache/fineract/#pull-requests

  • Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

  • Create/update unit or integration tests for verifying the changes made.

  • Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

  • Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm with details of any API changes

  • Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@phongnguyen-monex phongnguyen-monex changed the title Use environment variable for mysql server check in dockerfile entrypoint (FINERACT-1163) Use environment variable for mysql server availability check in dockerfile entrypoint (FINERACT-1163) Nov 3, 2021
Copy link
Contributor

@ptuomola ptuomola left a comment

Choose a reason for hiding this comment

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

LGTM

@ptuomola ptuomola closed this Nov 3, 2021
@ptuomola ptuomola reopened this Nov 3, 2021
@ptuomola
Copy link
Contributor

ptuomola commented Nov 3, 2021

Change looks OK - let's see if integration test / build pass...

@IOhacker
Copy link
Contributor

IOhacker commented Nov 3, 2021

Hello, we got an issue in K8s while using the name of mysql in the script, I have removed this check in this PR #1944 delegating to Docker-Compose and K8s the control of the services

@phongnguyen-monex
Copy link
Contributor Author

phongnguyen-monex commented Nov 4, 2021

Hello, we got an issue in K8s while using the name of mysql in the script, I have removed this check in this PR #1944 delegating to Docker-Compose and K8s the control of the services

I think this is a better implementation, mine is just a quick fix. I'm closing this issue.

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.

3 participants