Best practices around creating production ready web apps with Docker Compose
I had remembered docker&#x27;s own documentation in the past recommending against using compose at all in production, but that is apparently no longer the case: <a href="https:&#x2F;&#x2F;docs.docker.com&#x2F;compose&#x2F;production&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.docker.com&#x2F;compose&#x2F;production&#x2F;</a><p>I&#x27;m fairly surprised by this. You can deploy a fairly similar compose file into a Docker swarm cluster, but if you&#x27;re doing a single-server deployment of everything, that is awfully brittle for production, to say nothing of considerations brought up in other comments where you may be using managed services from a cloud provider for things like database and caching in production but you&#x27;re probably just spinning up a local postgres server on your laptop for development.