Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 23ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login

All gists

All Recently liked Recently forked
Recently created Least recently created Recently updated Least recently updated
bjorn

bjorn / update_docker_stacks.sh

Last active 2 days ago
0 0 1
1 #!/bin/bash
2
3 set -euo pipefail
4
5 # Regex for valid docker compose file names
6 COMPOSE_REGEX='^(docker-compose|compose)\.ya?ml$'
7
8 # Colors for output
9 RED='\033[0;31m'
10 GREEN='\033[0;32m'