docker compose can use in production if you single machine. Multiple machine then swarm mode

單機: docker compose 完

多機: docker swarm mode / k8n

  1. https://nickjanetakis.com/blog/docker-tip-34-should-you-use-docker-compose-in-production1

  2. https://vsupalov.com/docker-compose-production/3

  3. enter image description here