-
Notifications
You must be signed in to change notification settings - Fork 5
/
changedetection.yml
59 lines (52 loc) · 1.98 KB
/
changedetection.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
- hosts: homelab
vars:
application: changedetection
docker_network: "{{ networks.pub }}"
tasks:
- name: Create playwright container
ansible.builtin.include_role:
name: docker_container
vars:
name: "{{ application }}-chrome"
image: dgtlmoon/sockpuppetbrowser:latest
capabilities:
- SYS_ADMIN
env:
SCREEN_WIDTH: "1920"
SCREEN_HEIGHT: "1024"
SCREEN_DEPTH: "16"
MAX_CONCURRENT_CHROME_PROCESSES: "10"
- name: Create "{{ application }}" container
ansible.builtin.include_role:
name: docker_container
vars:
image: ghcr.io/dgtlmoon/changedetection.io:0.47.06
ipv4_address: "{{ docker_network.prefix }}.248"
volumes:
- "{{ config_directory }}:/datastore"
env:
BASE_URL: "https://{{ application }}.{{ common_tld }}"
PLAYWRIGHT_DRIVER_URL: "ws://{{ application }}-chrome:3000"
PUID: "{{ common_user_id | string }}"
PGID: "{{ common_group_id | string }}"
traefik:
- port: 5000
homepage:
name: Change Detection
group: Tools
weight: 100
description: "Website change detection"
widget:
type: changedetectionio
url: https://{{ application }}.{{ common_tld }}
key: !vault |
$ANSIBLE_VAULT;1.1;AES256
32383631616238623937663766393861623062373133356434333061333133393037313937353735
3134323437363630666430366466636338376134363663640a643232323338343261303036386135
34353337643539636238633966306131663733343738383964653961653430666164313232333531
3438333933326136660a636333383633613733343930396231623634363430373838356638663634
64393965306338613135343035353232393132316564336239376361376161653138323936343061
3633353965653062316564376436373732316237623633343232
comparisons:
env: strict