Skip to content

Instantly share code, notes, and snippets.

@stevewithington
stevewithington / bash-ansi-variables-colorized-echo-output.md
Created April 16, 2021 14:26
Bash ANSI Variables for Colorized Echo Output

Bash ANSI Variables for Colorized Echo Output

I wanted to be able to make some messaging stand out while running Azure Pipeline Builds. This is ultimately what worked for me.

Example Usage

Some simple examples of how to use the variables listed below.

One Color for the Entire Line

@dragonfire1119
dragonfire1119 / homepage-docker-compose.yml
Created August 8, 2023 22:46
Docker Compose Homepage
version: "3.3"
services:
homepage:
image: ghcr.io/benphelps/homepage:latest
container_name: homepage
ports:
- 7200:3000
volumes:
- /data/homepage/config:/app/config # Make sure your local config directory exists
- /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations