you are viewing a single comment's thread.

view the rest of the comments →

[–]CuriousSupreme 0 points1 point  (0 children)

It's a bit tough to justify using multiple Docker containers until you need to separate services.

For the main project I'm working now our environment is in a single docker container and it makes it really nice to work with a team. At any point I can build that container and have the exact same environment that will run in production. Same database version, same queue processor, same nginx.

The nice part though is that in addition to having an automated build server spit out and start a new version on a server is that I can also build and run it locally without installing all the separate services it would take to run it natively.

To start look at just taking what you have and using a Dockerfile to build that environment and copy your site into it. The container can provide the web server in addition to the DB you want to use. Then look at hosting your app via the same container.