feat: Add Docker Swarm configuration
pveierland opened this issue · comments
Hello,
The Docker Compose configuration provided in the documentation is not suitable for use with Docker Swarm due to its use of depends_on for startup sequencing, which is ignored in swarm mode. It would be great if a robust Docker Swarm configuration was provided that did not depend on this feature.
https://docs.hatchet.run/self-hosting/docker-compose
https://docs.docker.com/compose/compose-file/compose-file-v3/#depends_on
Leaving a note here as we had issues running the Hatchet images on macOS / ARM with docker swarm. The following solved the issue for us:
docker stack deploy --resolve-image "never" -c stack.yml stack