StackMe is a comprehensive shell script designed to manage Docker Swarm deployments. It includes a variety of functions to handle tasks such as error handling, color and style definitions, JSON parsing, email sending, Docker operations, and more.
- Error Handling and Logging: Robust error handling and logging mechanisms;
- Color and Style Definitions: Consistent use of colors and text styles for better readability;
- Utility Functions: JSON decoding, base64 decoding, random string generation, masking strings, sending emails, and more;
- Docker Management: Check Docker Swarm status, deploy stacks, list services, and manage Docker networks;
- SMTP Email Testing: Configure and send test emails using the
swaks
tool; - Configuration Management: Generate and validate configurations for various services like Traefik, Portainer, Redis, Postgres, n8n and others;
- User Interaction: Prompt the user for input, collect and validate information, and display messages with formatted text.
- Docker
- Python 3
- Bash
swaks
tool for SMTP email testing
-
Clone the repository:
git clone https://github.com/whosbash/stackme.git cd stackme
-
Make the script executable:
chmod +x stackme.sh
-a, --arrow
: Choose the application arrow.-h, --help
: Display the help message and exit.
Change the default arrow:
bash ./stackme.sh --arrow 'diamond'
The script will display a main menu where you can choose the stack to install. Navigate through the options to select the desired stack.
./stackme.sh
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
This project is licensed under the MIT License. See the LICENSE file for details.
Take a look at these stacks and be creative.
- Inspired by SetupOrion.
- Thanks to all contributors and users for their support.
Happy coding and stay curious!