Audit all your docker-compose.yml files

If you would like to check if the timezones are correctly setup in all your docker.compose.yml files or just want to list all values of a certain property (subnet, PUID, PGID, ...)

Isometric filing cabinet of docker-compose files under an orange magnifying glass spotlight, with a terminal scan panel and warning badges on the sides

If you would like to check if the timezones are correctly set up in all your docker-compose.yml files, or just want to list all values of a certain property such as subnet, PUID, or PGID, this one liner will save you from opening every file by hand.

Replace TZ= by the property name you would like to audit.

sudo find . -type f -name "docker-compose.yml" -exec grep -H "TZ=" {} \;

It works across as many nested folders as you point it at, so it scales just as well on a handful of stacks as it does on dozens.

Looking for help?
If you are looking for some help or want a quick chat, please head over to the Discord Community!