Add vikunja integrations
Integrate into gethomepage and telegraf Fix force-recreate for vikunja and influxdb
This commit is contained in:
parent
146c80498b
commit
e0a6245842
5 changed files with 17 additions and 1 deletions
|
@ -70,6 +70,8 @@ gethomepage_services_yml:
|
||||||
slug: serguzim-net
|
slug: serguzim-net
|
||||||
- tick.serguzim.me:
|
- tick.serguzim.me:
|
||||||
href: https://tick.serguzim.me
|
href: https://tick.serguzim.me
|
||||||
|
- todo.serguzim.me:
|
||||||
|
href: https://todo.serguzim.me
|
||||||
- wiki.serguzim.me:
|
- wiki.serguzim.me:
|
||||||
href: https://wiki.serguzim.me
|
href: https://wiki.serguzim.me
|
||||||
- External:
|
- External:
|
||||||
|
|
|
@ -17,6 +17,12 @@
|
||||||
src: yml.j2
|
src: yml.j2
|
||||||
dest: "{{ (service_path, 'influxdb.yml') | path_join }}"
|
dest: "{{ (service_path, 'influxdb.yml') | path_join }}"
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
|
register: cmd_result
|
||||||
|
|
||||||
|
- name: Set the docker force-recreate flag
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
docker_force_recreate: --force-recreate
|
||||||
|
when: cmd_result.changed # noqa: no-handler We need to handle the restart per service. Handlers don't support variables.
|
||||||
|
|
||||||
- name: Import start tasks for common service
|
- name: Import start tasks for common service
|
||||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||||
|
|
|
@ -12,6 +12,7 @@ telegraf_svc:
|
||||||
- https://matrix.msrg.cc/_synapse/metrics
|
- https://matrix.msrg.cc/_synapse/metrics
|
||||||
- https://push.serguzim.me/metrics
|
- https://push.serguzim.me/metrics
|
||||||
- https://tick.serguzim.me/metrics
|
- https://tick.serguzim.me/metrics
|
||||||
|
- https://todo.serguzim.me/api/v1/metrics
|
||||||
prometheus_protected:
|
prometheus_protected:
|
||||||
urls:
|
urls:
|
||||||
- https://ci.serguzim.me/metrics
|
- https://ci.serguzim.me/metrics
|
||||||
|
|
|
@ -16,6 +16,12 @@
|
||||||
src: yml.j2
|
src: yml.j2
|
||||||
dest: "{{ (service_path, 'config.yml') | path_join }}"
|
dest: "{{ (service_path, 'config.yml') | path_join }}"
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
|
register: cmd_result
|
||||||
|
|
||||||
|
- name: Set the docker force-recreate flag
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
docker_force_recreate: --force-recreate
|
||||||
|
when: cmd_result.changed # noqa: no-handler We need to handle the restart per service. Handlers don't support variables.
|
||||||
|
|
||||||
- name: Import start tasks for common service
|
- name: Import start tasks for common service
|
||||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||||
|
|
|
@ -55,7 +55,8 @@ vikunja_yml:
|
||||||
clientid: "{{ vault_vikunja.oidc_client.id }}"
|
clientid: "{{ vault_vikunja.oidc_client.id }}"
|
||||||
clientsecret: "{{ vault_vikunja.oidc_client.secret }}"
|
clientsecret: "{{ vault_vikunja.oidc_client.secret }}"
|
||||||
|
|
||||||
VIKUNJA_METRICS_ENABLED: true
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
vikunja_compose:
|
vikunja_compose:
|
||||||
watchtower: true
|
watchtower: true
|
||||||
|
|
Reference in a new issue