50829af421
- 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
31 lines
906 B
Django/Jinja
31 lines
906 B
Django/Jinja
services:
|
|
frigate:
|
|
image: {{ frigate_image }}
|
|
container_name: frigate
|
|
restart: unless-stopped
|
|
privileged: true
|
|
shm_size: "256mb"
|
|
ports:
|
|
- "5000:5000"
|
|
- "8554:8554"
|
|
- "8555:8555/tcp"
|
|
- "8555:8555/udp"
|
|
volumes:
|
|
- {{ frigate_config_dir }}:/config
|
|
- {{ frigate_media_dir }}:/media/frigate
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
FRIGATE_RTSP_PASSWORD: "{{ vault_frigate_rtsp_password | default('changeme') }}"
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.http.routers.frigate.rule: "Host(`{{ frigate_host }}`)"
|
|
traefik.http.routers.frigate.entrypoints: websecure
|
|
traefik.http.routers.frigate.tls.certresolver: letsencrypt
|
|
traefik.http.services.frigate.loadbalancer.server.port: "5000"
|
|
networks:
|
|
- {{ docker_network_name }}
|
|
|
|
networks:
|
|
{{ docker_network_name }}:
|
|
external: true
|