-
Notifications
You must be signed in to change notification settings - Fork 5
/
changedetection.yml
69 lines (60 loc) · 2.64 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
60
61
62
63
64
65
66
67
68
69
---
- hosts: homelab
vars:
application: changedetection
changedetection_browserless_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
65663961663733333833633562643435316565303839646638343835393364393632353665323636
6530343163323232626665343130346264346130306437340a333132336262613562626562323866
32386234623861396664643230343563356161353434663964383363366436623761613432306261
3931346438636162610a363965363661636635303530636164336366363664633661333439393637
65336234623537353366633338386366336432656632336461306164663466393335
changedetection_browserless_launch_args:
args:
- --disable-web-security
stealth: true
docker_network: "{{ networks.pub }}"
tasks:
- name: Create playwright container
ansible.builtin.include_role:
name: docker_container
vars:
name: "{{ application }}-chrome"
image: ghcr.io/browserless/chromium:v2.24.0
env:
TOKEN: "{{ changedetection_browserless_token }}"
CONCURRENT: "10"
TIMEOUT: "30000"
- name: Create "{{ application }}" container
ansible.builtin.include_role:
name: docker_container
vars:
image: ghcr.io/dgtlmoon/changedetection.io:0.48.04
ipv4_address: "{{ docker_network.prefix }}.248"
volumes:
- "{{ config_directory }}:/datastore"
env:
BASE_URL: "https://{{ application }}.{{ common_tld }}"
PLAYWRIGHT_DRIVER_URL: "ws://{{ application }}-chrome:3000?token={{ changedetection_browserless_token }}&launch={{ changedetection_browserless_launch_args | to_json | replace(' ', '') }}"
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