-
Notifications
You must be signed in to change notification settings - Fork 5k
[Doc][Docker] fix typo on start with docker #15534
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
Conversation
docs/docs/en/guide/start/docker.md
Outdated
| # Initialize the database, make sure database <DATABASE> already exists | ||
| $ docker run -d --name dolphinscheduler-tools \ | ||
| -e DATABASE="postgresql" \ | ||
| -e SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/<DATABASE>" \ | ||
| -e SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/dolphinscheduler" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is a typo since we already have comment above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I think maybe we should correct below 4 into DATABASE?
I think we should all changed to dolphinscheduler or .
or else it is confusing.
It is also a little bit confuse with SPRING_DATABASE configuration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change others components env SPRING_DATASOURCE_URL LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change others components env
SPRING_DATASOURCE_URLLGTM
Thanks for discussion.
Updated.
SbloodyS
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Co-authored-by: xiangzihao <[email protected]> Co-authored-by: Eric Gao <[email protected]> (cherry picked from commit 1b42d45)
Purpose of the pull request
fix #15533
Brief change log
fix type on docker start guide.
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
If your pull request contain incompatible change, you should also add it to
docs/docs/en/guide/upgrede/incompatible.md