ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
$ docker-compose exec service mysql -u root -p -e "SELECT @@global.secure_file_priv;"
Enter password:
+---------------------------+
| @@global.secure_file_priv |
+---------------------------+
| /var/lib/mysql-files/ |