This commit is contained in:
@@ -47,3 +47,4 @@
|
|||||||
healthcheck: "{{ healthcheck | default(omit) }}"
|
healthcheck: "{{ healthcheck | default(omit) }}"
|
||||||
devices: "{{ devices | default(omit) }}"
|
devices: "{{ devices | default(omit) }}"
|
||||||
mounts: "{{ mounts | default(omit) }}"
|
mounts: "{{ mounts | default(omit) }}"
|
||||||
|
privileged: "{{ privileged | default(omit) }}"
|
||||||
|
|||||||
@@ -1,24 +1,15 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Frigate
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/frigate"
|
|
||||||
|
|
||||||
- name: Pull latest Frigate Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: ghcr.io/blakeblackshear/frigate
|
|
||||||
tag: stable
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Deploy Frigate Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: frigate
|
name: frigate
|
||||||
image: ghcr.io/blakeblackshear/frigate:stable
|
directories:
|
||||||
recreate: true
|
- "{{ data_dir }}/frigate"
|
||||||
|
image:
|
||||||
|
name: ghcr.io/blakeblackshear/frigate
|
||||||
|
tag: stable
|
||||||
privileged: true
|
privileged: true
|
||||||
restart_policy: unless-stopped
|
|
||||||
published_ports:
|
published_ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
- "8555:8555/tcp"
|
- "8555:8555/tcp"
|
||||||
|
|||||||
Reference in New Issue
Block a user