I’m planning on making my 1st dev environment for Rails app.
I’ll be using mysql as DB.
When using docker, is it a good practice to have separate containers for an app and mysql ?
So, when I’ll docker in production, my understanding I can just replace a docker container for an app with the newer content as a deployment, while keeping mysql container untouched… Is that correct idea?
Let me know if there’s anything missing.
Maybe I will need to separate web server to a different container as well?
I don’t want to re-invent the wheel.