b9be45dc71
Complete IaC covering: - 14 roles: common, docker, traefik, vaultwarden, monitoring, media, matrix, home_assistant, frigate, adguard, gitea, semaphore, openclaw, security, backup - Inventory for all hosts (Peggy, Bart, Yoda, NAS, Firewalla) - Stack playbooks: core-infrastructure, monitoring, media, communication, automation, smarthome, security-hardening - Maintenance playbooks: update-containers, backup, health-check - Production Docker Compose templates with Traefik labels - Security hardening (sysctl, auditd, UFW, fail2ban) - Automated backups with retention policy
23 lines
671 B
Django/Jinja
23 lines
671 B
Django/Jinja
services:
|
|
openclaw:
|
|
image: {{ openclaw_image }}
|
|
container_name: openclaw
|
|
restart: unless-stopped
|
|
environment:
|
|
TZ: {{ timezone }}
|
|
volumes:
|
|
- {{ openclaw_data_dir }}:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.http.routers.openclaw.rule: "Host(`{{ openclaw_host }}`)"
|
|
traefik.http.routers.openclaw.entrypoints: websecure
|
|
traefik.http.routers.openclaw.tls.certresolver: cloudflare
|
|
traefik.http.services.openclaw.loadbalancer.server.port: "3000"
|
|
networks:
|
|
- {{ docker_network_name }}
|
|
|
|
networks:
|
|
{{ docker_network_name }}:
|
|
external: true
|