Skip to content

Docker Swarm Stacks is a collection of pre-configured stack files designed to simplify the deployment of various services in a Docker Swarm cluster.

Notifications You must be signed in to change notification settings

felipefontoura/docker-swarm-stacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Docker Swarm Stacks

Docker Swarm Stacks is a collection of pre-configured stack files designed to simplify the deployment of various services in a Docker Swarm cluster.


Table of Contents


Installation

  1. Clone the repository:

    git clone https://github.com/felipefontoura/docker-swarm-stacks.git
    cd docker-swarm-stacks
  2. Ensure Docker Swarm is initialized:

    docker swarm init

Usage

  1. Navigate to project path:

    cd docker-swarm-stacks
  2. Adjust stack file:

    nano stacks/<category>/<stack>.yml
  3. Run the docker

    docker stack deploy --prune --resolve-image always --compose-file ./<category>/<stack>.yml stack
  4. Monitor your services:

    docker service ls

Stacks Available

Infrastructure

  • Traefik: Application proxy and load balancer.

Databases

  • PostgreSQL: Relational database with advanced features.
  • Redis: In-memory key-value store for caching and real-time analytics.

Applications

  • 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.

Contributing

Contributions are welcome! If you want to contribute:

  1. Fork the repository.
  2. Add or update a stack.
  3. Submit a pull request.

For major changes, please open an issue first to discuss the proposal.


License

This repository is licensed under the MIT License. Use, modify, and distribute freely!

About

Docker Swarm Stacks is a collection of pre-configured stack files designed to simplify the deployment of various services in a Docker Swarm cluster.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published