Commit initial : infrastructure Ansible pour homeserver
- Playbooks Ansible avec rôles (common, cockpit, docker, services) - 30+ stacks Docker Compose avec reverse proxy Traefik - Ansible Vault pour gestion secrets - Intégration CrowdSec pour détection intrusions - Versions images Docker fixées pour reproductibilité
This commit is contained in:
commit
fd01ea59ee
125 changed files with 4768 additions and 0 deletions
8
stacks/crowdsec/command_api.txt
Normal file
8
stacks/crowdsec/command_api.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
cd /opt/stacks/crowdsec
|
||||
docker compose up -d
|
||||
alias cscli='docker exec -it crowdsec cscli'
|
||||
Pour persistance :
|
||||
echo "alias cscli='docker exec -it crowdsec cscli'" >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
|
||||
cscli bouncers add traefik-bouncer
|
||||
Loading…
Add table
Add a link
Reference in a new issue