Files
ansible-homelab/roles/openclaw/templates/docker-compose.yml.j2
T
pluto 50829af421 Fix critical discrepancies found during validation audit
- Fix cert resolver name (cloudflare -> letsencrypt)
- Fix volume paths (/mnt/nas -> /data)
- Add missing custom port mappings
- Add privileged/capability flags
- Add 8 new roles: portainer, n8n, nodered, influxdb, guacamole, watchtower, rtlamr2mqtt, telegraf
- Fix Traefik template (ports, ACME path, wildcard cert)
- Add extra volume mounts for media services
2026-02-01 23:54:39 -06:00

23 lines
672 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: letsencrypt
traefik.http.services.openclaw.loadbalancer.server.port: "3000"
networks:
- {{ docker_network_name }}
networks:
{{ docker_network_name }}:
external: true