refactor+feat: renamed scripts with numbers and added some checks for dev envs

This commit is contained in:
Strix 2023-10-26 14:44:42 +02:00
parent 89103dc0ee
commit a44e857e80
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
5 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#!/bin/sh
for dcf in servers/*/docker-compose.d/docker-compose.yml; do
if grep -e "#.*CERTBOT_DOMAINS" $dcf; then
echo "$dcf has commented out domains!"
exit 1
fi
done

View file

@ -0,0 +1,8 @@
#!/bin/sh
for f in servers/*/docker-compose.d/custom/nginx/conf.d/*.conf; do
if grep -e "server_name.*\.localhost" $f; then
echo "$f has a local server_name!"
exit 1
fi
done