Notifications
You’re not receiving notifications from this thread.
docker mysql
i already got the mysql image running in docker ps but i would like to be able to get access to it from my rails apps that are not dockerized anybody knows how to achieve this?
hi roberto, i don't know to achieve this, but I am curious if you figured out any answers. I am doing work on an older rails app and connecting to mysql using the mysql2 gem has been a challenge for me. I am trying docker so I can change around versions of the mysql2 gem (working production app uses mysql2 v 3.21), mysql (going between 5.7 and 8.026), and ruby but I need to keep rails at 3.2.22. If anyone has links to working docker files or docker compose files that accomplish this or general resources they have found helpful for an environment similar to this, I am all ears. Thanks much!