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
668 B
Django/Jinja
23 lines
668 B
Django/Jinja
services:
|
|
synapse:
|
|
image: {{ synapse_image }}
|
|
container_name: synapse
|
|
restart: unless-stopped
|
|
environment:
|
|
SYNAPSE_SERVER_NAME: {{ matrix_server_name }}
|
|
SYNAPSE_REPORT_STATS: "no"
|
|
volumes:
|
|
- {{ synapse_data_dir }}:/data
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.http.routers.synapse.rule: "Host(`{{ matrix_host }}`)"
|
|
traefik.http.routers.synapse.entrypoints: websecure
|
|
traefik.http.routers.synapse.tls.certresolver: cloudflare
|
|
traefik.http.services.synapse.loadbalancer.server.port: "8008"
|
|
networks:
|
|
- {{ docker_network_name }}
|
|
|
|
networks:
|
|
{{ docker_network_name }}:
|
|
external: true
|