Add argus service for update management
This commit is contained in:
parent
89ced72d09
commit
d0f96ef6cd
1 changed files with 208 additions and 6 deletions
61
playbooks/roles/argus/defaults/main.yml
Normal file
61
playbooks/roles/argus/defaults/main.yml
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
---
|
||||
argus_version_argus: 0.39.0
|
||||
|
||||
argus_confd_path: "{{ (service_path, 'conf.d') | path_join }}"
|
||||
|
||||
argus_github_token: "{{ undef() }}"
|
||||
|
||||
argus_service_ver: "" # Set when creating service config
|
||||
argus_service_name: "" # Set when creating service config
|
||||
|
||||
argus_svc:
|
||||
domain: "{{ all_services | service_get_domain(service_name) }}"
|
||||
port: 8080
|
||||
caddy_extra: import vpn_only
|
||||
|
||||
argus_yml:
|
||||
settings:
|
||||
web:
|
||||
trusted_proxies:
|
||||
- 0.0.0.0/0
|
||||
auth:
|
||||
enabled: false
|
||||
data:
|
||||
database_file: /app/data/argus.db
|
||||
readonly: true
|
||||
|
||||
defaults:
|
||||
service:
|
||||
options:
|
||||
interval: 2h
|
||||
semantic_versioning: true
|
||||
latest_version:
|
||||
github:
|
||||
access_token: "{{ argus_github_token }}"
|
||||
deployed_version:
|
||||
type: manual
|
||||
allow_invalid_certs: false
|
||||
dashboard:
|
||||
auto_approve: false
|
||||
|
||||
argus_compose:
|
||||
watchtower: update
|
||||
image: releaseargus/argus:{{ argus_version_argus }}
|
||||
volumes:
|
||||
- ./config.yml:/app/config.yml
|
||||
- data:/app/data/
|
||||
file:
|
||||
volumes:
|
||||
data:
|
||||
|
||||
argus_ver:
|
||||
service:
|
||||
argus_argus:
|
||||
latest_version:
|
||||
type: github
|
||||
url: release-argus/argus
|
||||
deployed_version:
|
||||
version: "{{ argus_version_argus }}"
|
||||
dashboard:
|
||||
icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/argus.webp
|
||||
web_url: !unsafe https://github.com/release-argus/Argus/releases/tag/{{ version }}
|
||||
Loading…
Reference in a new issue