-
Notifications
You must be signed in to change notification settings - Fork 218
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
chore(test): bind mount read only in compose file for testing #2352
Conversation
mysql container seems executing chown when start up.
|
@@ -1,2 +1,2 @@ | |||
[mysqld] | |||
secure-file-priv= /tmp/chinook/ | |||
secure-file-priv = "" |
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.
Low priority question — but does this mean we can remove this file now?
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.
We need to set secure-file-priv=""
either in the configuration file or in the command.
Perhaps it is more concise to write the command in the compose file, so I changed it in #2359.
#2286 (comment)
It is safer to do bind mounts with read only to prevent file permissions from being changed from the containers.