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

Add build from docker-compose #17

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Add build from docker-compose #17

merged 1 commit into from
Sep 3, 2024

Conversation

altmannmarcelo
Copy link
Collaborator

This commit adds a minimal build of a proxysql, mysql and readyset via docker compose file. With this we can start a local environment to test the scheduler.

This commit adds a minimal build of a proxysql, mysql and readyset
via docker compose file. With this we can start a local environment
to test the scheduler.
Copy link
Contributor

@jasobrown-rs jasobrown-rs left a comment

Choose a reason for hiding this comment

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

Other than the question i posted, lgtm

monitor_password="noria"
}

mysql_users:
Copy link
Contributor

Choose a reason for hiding this comment

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

the earlier entries in this file are followed by an equals sign, =; here you are following with a colon, :. Is that intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That is a good point. I got it from https://github.com/sysown/proxysql README.
Screenshot 2024-09-03 at 12 54 03

I can confirm that it is creating the users when I boot the containers:

$ mysql -h 127.1 -uradmin -pradmin -P 6032 -e "SELECT username, password from mysql_users"
mysql: [Warning] Using a password on the command line interface can be insecure.
+----------+----------+
| username | password |
+----------+----------+
| root     | noria    |
+----------+----------+

@altmannmarcelo altmannmarcelo merged commit aae69e9 into main Sep 3, 2024
4 checks passed
@altmannmarcelo altmannmarcelo deleted the build-docker branch September 3, 2024 15:56
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