SaltStack
Docker Compose
SaltStack | Docker Compose | |
---|---|---|
47 | 424 | |
14,511 | 35,377 | |
0.5% | 0.9% | |
9.9 | 9.7 | |
4 days ago | 4 days ago | |
Python | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SaltStack
- Salt is the fastest, most intelligent and scalable automation engine
- Looking for a way to remote in to K's of raspberry pi's...
-
Salt Exporter: the story behind the tool
In the new style, when the tag is longer than 20 characters, an end of tag string is appended to the tag given by the string constant TAGEND, that is, two line feeds '\n\n'. When the tag is less than 20 characters then the tag is padded with pipes "|" out to 20 characters as before. When the tag is exactly 20 characters no padded is done. source: https://github.com/saltstack/salt/blob/master/salt/utils/event.py
-
Why would anyone need AD/AAD when you can manage devices through Saltstack?
https://github.com/saltstack/salt https://github.com/chocolatey/choco https://github.com/nextcloud https://github.com/authelia/authelia https://github.com/grafana/grafana
-
Is Chocolatey v2.0 now the stable CLI version?
SaltStack
-
Probably asked before, but any opinions on Ansible against Salt
One thing that really irks me about Salt, though, is that they are very slow to fix bugs. My Salt states are littered with workarounds for bugs that have been open for multiple years. Even in basic things, like ssh authorized_keys management. Other than bug velocity, though, I've been pretty pleased with Salt.
-
NetworkManager with salt
Here are several related GitHub issues: - https://github.com/saltstack/salt/issues/54791 - https://github.com/saltstack/salt/issues/57541 - https://github.com/saltstack/salt/issues/16089
-
What's new in Salt 3006 Sulfur LTS
For clarity, here's the issue: https://github.com/saltstack/salt/issues/64111
-
Someone needs to fork salt, VMware has all but abandoned it.
Nightly builds on supported branches & master running the full test suite, producing fully tested builds. https://github.com/saltstack/salt/actions/workflows/nightly.yml
- Salt issue on FreeBSD
Docker Compose
-
Website behind Active Directory/LDAP with Nginx
$ sudo yum install docker git -y $ sudo systemctl enable --now docker $ # Attention: You need IPv4 to download from GitHub! $ sudo curl -L \ "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" \ -o /usr/local/bin/docker-compose $ sudo chmod +x /usr/local/bin/docker-compose $ sudo usermod -aG docker $(whoami) # Log in to the instance again
-
Deploy a Django Rest Api on AWS EC2 using Docker, NGINX, Gunicorn and GitHub Action.
[ec2-user]$ sudo yum update -y [ec2-user]$ sudo yum install -y docker [ec2-user]$ sudo service docker start [ec2-user]$ sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose [ec2-user]$ sudo chmod +x /usr/local/bin/docker-compose [ec2-user]$ docker --version Docker version 20.10.23, build 7155243 [ec2-user]$ docker-compose --version Docker Compose version v2.18.1
- Docker Compose: Make –detach (or –follow) the default behaviour on up
-
Quadlet: Running Podman containers under systemd
If you're a fan of compose files, then you can use Docker's own compose application [1] with Podman [2]. It seems that the compose cli controls the engine using its socket. Both podman and docker engines have the almost same API. I'm using this approach since podman-compose didn't work as expected for me. Docker-compose is usually installed as a plugin for the docker client. However, I use it as a standalone application for use with Podman. In addition, I prefer using docker 'contexts' instead of the DOCKER_HOST environment variable to set up the integration.
Another relevant project is podlet [3]. It can be used to convert compose files, podman/docker command or a running object to a set of quadlet files. Also, note that if plain quadlets aren't powerful enough for you, quadlets [4] and plain podman [5] also support running a limited set of kubernetes manifests.
[1] https://github.com/docker/compose
[2] https://docs.podman.io/en/latest/markdown/podman-system-serv...
[3] https://github.com/containers/podlet
[4] https://docs.podman.io/en/latest/markdown/podman-systemd.uni...
[5] https://docs.podman.io/en/latest/markdown/podman-kube-play.1...
-
Deploying a FastAPI Application with CI/CD Pipeline: HNG Task 3
name: CD Pipeline on: push: branches: [main] jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v3 - name: Deploy via SSH uses: appleboy/ssh-action@master with: host: ${{ secrets.SSH_HOST }} username: ${{ secrets.SSH_USERNAME }} key: ${{ secrets.SSH_PRIVATE_KEY }} script: | # Update package index and install dependencies sudo apt-get update -y sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common # Add Docker's official GPG key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" # Install Docker sudo apt-get update -y sudo apt-get install -y docker-ce docker-ce-cli containerd.io # Add the SSH user to the Docker group sudo usermod -aG docker ${{ secrets.SSH_USERNAME }} # Install Docker Compose sudo curl -L "https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose # Verify installations docker --version docker-compose --version # Navigate to the project directory and deploy cd /home/ubuntu/ git clone cd fastapi-book-project/ git pull docker-compose up -d --build
- Implementação de WordPress Escalável na AWS com Docker, RDS e EFS
-
Setting up Bee-Stack on MacOS Intel
#!/bin/bash sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo -i chmod +x /usr/local/bin/docker-compose docker compose version
- Eine Website hinter Active Directory/LDAP mit Nginx
-
Short: User Data file for Ubuntu based AWS ec2 instance with docker and docker compose.
#!/bin/bash # Update the system sudo apt-get update -y sudo apt-get upgrade -y # Install Git sudo apt-get install -y git # Install Docker sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update -y sudo apt-get install -y docker-ce docker-ce-cli containerd.io # Add the 'ubuntu' and 'ssm-user' to the Docker group sudo usermod -aG docker ubuntu sudo usermod -aG docker ssm-user id ubuntu ssm-user sudo newgrp docker # Enable and start Docker sudo systemctl enable docker.service sudo systemctl start docker.service # Install Docker Compose v2 sudo mkdir -p /usr/local/lib/docker/cli-plugins sudo curl -SL https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-linux-x86_64 -o /usr/local/lib/docker/cli-plugins/docker-compose sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose # Add swap space sudo dd if=/dev/zero of=/swapfile bs=128M count=32 sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab
What are some alternatives?
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
supervisor - Supervisor process control system for Unix (supervisord)
Rundeck - Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
Cloud-Init - unofficial mirror of Ubuntu's cloud-init
Portainer - Making Docker and Kubernetes management easy.