Docker Swarm Stacks is a collection of pre-configured stack files designed to simplify the deployment of various services in a Docker Swarm cluster.
-
Clone the repository:
git clone https://github.com/felipefontoura/docker-swarm-stacks.git cd docker-swarm-stacks
-
Ensure Docker Swarm is initialized:
docker swarm init
-
Navigate to project path:
cd docker-swarm-stacks
-
Adjust stack file:
nano stacks/<category>/<stack>.yml
-
Run the docker
docker stack deploy --prune --resolve-image always --compose-file ./<category>/<stack>.yml stack
-
Monitor your services:
docker service ls
- Traefik: Application proxy and load balancer.
- PostgreSQL: Relational database with advanced features.
- Redis: In-memory key-value store for caching and real-time analytics.
- Evolution API: API framework for evolutionary development.
- N8n: Workflow automation tool.
- RabbitMQ: Message broker for distributed systems, ideal for asynchronous communication and message queuing.
- Typebot: Chatbot builder for interactive conversations.
Contributions are welcome! If you want to contribute:
- Fork the repository.
- Add or update a stack.
- Submit a pull request.
For major changes, please open an issue first to discuss the proposal.
This repository is licensed under the MIT License. Use, modify, and distribute freely!