Files
ansible/roles/docker/tasks/infrastructure/main.yml
T
PhilandClaude Opus 5.5 48a4e48b84 CrowdSec (detection only) and staged custom-Caddy plumbing
- crowdsec stack on lava reading Caddy's access log (logs/ subpath only),
  collections caddy, http-cve, base-http-scenarios, appsec-virtual-patching;
  AppSec listener on :7422; allowlist for lava, Tailscale, the server
- caddy_custom switch (image + plugin directives), staged by
  caddy_crowdsec_enforce / caddy_appsec / caddy_ratelimit; all off, so the
  rendered config is unchanged in effect
- (protect) on every site, (ratelimit_login) on login paths, both empty
  until enabled; caddy recreated when compose.yml or .env changes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:22:15 -07:00

33 lines
660 B
YAML

---
# Infrastructure services - Core platform components
- name: Install caddy
import_tasks: caddy.yml
tags: caddy
- name: Install pocketid
import_tasks: pocketid.yml
tags: pocketid
- name: Install crowdsec
import_tasks: crowdsec.yml
tags: crowdsec
- name: Install tinyauth
import_tasks: tinyauth.yml
tags: tinyauth
- name: Template out the dockge compose file
ansible.builtin.template:
src: dockge-compose.yml.j2
dest: /opt/dockge/dockge.yml
owner: root
mode: '0644'
tags: dockge
- name: Deploy dockge stack
community.docker.docker_compose_v2:
project_src: /opt/dockge
files:
- dockge.yml
tags: dockge