Skip to content

Apps and Containers

Josh Dressel edited this page Dec 21, 2023 · 1 revision

Security

Crowdsec
https://docs.crowdsec.net/docs/intro/

Install as normal apt package using script from website.
curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bash
apt install crowdsec -y
apt install crowdsec-firewall-bouncer-iptables
cscli console enroll [enrollment digits found in Crowsec console]
cscli console status ##Display what's enabled
cscli scenarios install crowdsecurity/ssh-bf
Edit: /etc/crowdsec/config.yaml
Add to db section (indentation is a must):
use_wal: true
systemctl restart crowdsec
Login to web console to add more security features.

Maintenance

Watchtower
https://containrrr.dev/watchtower/
docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower

Uptime Kuma
https://github.com/louislam/uptime-kuma
docker volume create uptime-kuma
docker pull louislam/uptime-kuma:1
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1