Fix Make installation | Fix caddy CrowdSec API key retrieval script

This commit is contained in:
2025-01-26 18:24:22 -03:00
parent ffd2c02519
commit 4256bcac9f
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ caddy\:restart:
caddy\:crowdsec-key caddy\:crowdsec-key
@echo "Generating new CrowdSec API key..." @echo "Generating new CrowdSec API key..."
@docker exec caddy caddy reload --config /etc/caddy/Caddyfile || true docker exec crowdsec cscli bouncers add caddy-bouncer
@echo "\n=== IMPORTANT ===\nCopy the API_KEY from the output above and replace the value of CROWDSEC_API_KEY in your .env file." @echo "\n=== IMPORTANT ===\nCopy the API_KEY from the output above and replace the value of CROWDSEC_API_KEY in your .env file."
caddy\:logs: caddy\:logs:

View File

@@ -3,6 +3,6 @@
function install_make() { function install_make() {
echo "[ UTILS ]: Installing Make" echo "[ UTILS ]: Installing Make"
sudo apt update sudo apt update
sudo apt install build-essential sudo apt install make
echo "[ UTILS ]: Make installed succesfully" echo "[ UTILS ]: Make installed succesfully"
} }