diff --git a/ansible/app-configs/argus/config.yml.j2 b/ansible/app-configs/argus/config.yml.j2 index d8ec8b11..d82b7eab 100644 --- a/ansible/app-configs/argus/config.yml.j2 +++ b/ansible/app-configs/argus/config.yml.j2 @@ -1,22 +1,20 @@ settings: log: - level: INFO # Log level, DEBUG/VERBOSE/INFO/WARNING/ERROR - timestamps: false # Log with timestamps + level: INFO + timestamps: true data: - database_file: data/argus.db # SQLite DB file used to track the state of services + database_file: data/argus.db web: - listen_host: 0.0.0.0 # IP address to listen on - listen_port: 8080 # Port to listen on - route_prefix: / # Web route prefix, e.g. /demo means http://IP:PORT/demo to access - # cert_file: '' # HTTPS Cert path, e.g. `cert.pem` - # pkey_file: '' # HTTPS PrivKey path, e.g. `privkey.pem` + listen_host: 0.0.0.0 + listen_port: 8080 + route_prefix: / basic_auth: - username: 'admin' # Basic auth username, e.g. `admin` - password: "{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['ARGUS_WEB_PASSWORD'] }}" # Basic auth password, e.g. `test123` - disabled_routes: [] # API Routes to disable (see below) + username: 'admin' + password: "{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['ARGUS_WEB_PASSWORD'] }}" + disabled_routes: [] favicon: - png: '' # Override /apple-touch-icon.png (e.g. https://example.com/apple-touch-icon.png) - svg: '' # Override /favicon.svg (e.g. https://example.com/favicon.svg) + png: '' + svg: '' notify: rinoa-gotify: type: gotify @@ -41,7 +39,7 @@ service: json: version regex: v([0-9.]+) dashboard: - web_url: "https://github.com/AdguardTeam/AdGuardHome/releases/v{{ version }}" + web_url: "https://github.com/AdguardTeam/AdGuardHome/releases/v{% raw %}{{ version }}{% endraw %}" icon: "https://avatars.githubusercontent.com/u/8361145?s=200&v=4" advplyr/audiobookshelf: latest_version: @@ -56,7 +54,7 @@ service: json: serverVersion dashboard: icon: "https://raw.githubusercontent.com/advplyr/audiobookshelf/master/client/static/icon.svg" - web_url: "https://github.com/advplyr/audiobookshelf/releases/tag/v{{ version }}" + web_url: "https://github.com/advplyr/audiobookshelf/releases/tag/v{% raw %}{{ version }}{% endraw %}" dani-garcia/vaultwarden: latest_version: type: github @@ -65,7 +63,7 @@ service: url: "https://bitwarden.trez.wtf/api/version" regex: ([0-9.]+) dashboard: - web_url: "https://github.com/dani-garcia/vaultwarden/releases/{{ version }}" + web_url: "https://github.com/dani-garcia/vaultwarden/releases/{% raw %}{{ version }}{% endraw %}" icon: "https://raw.githubusercontent.com/dani-garcia/vaultwarden/main/src/static/images/vaultwarden-icon.png" ellite/Wallos: latest_version: @@ -91,7 +89,7 @@ service: json: version dashboard: icon: "https://raw.githubusercontent.com/FlareSolverr/FlareSolverr/master/resources/flaresolverr_logo.png" - web_url: "https://github.com/FlareSolverr/FlareSolverr/releases/tag/v{{ version }}" + web_url: "https://github.com/FlareSolverr/FlareSolverr/releases/tag/v{% raw %}{{ version }}{% endraw %}" go-gitea/gitea: latest_version: type: github @@ -100,13 +98,13 @@ service: - type: regex regex: v([0-9.]+)$ require: - regex_content: gitea-{{ version }}-linux-amd64 + regex_content: gitea-{% raw %}{{ version }}{% endraw %}-linux-amd64 regex_version: ^[0-9.]+[0-9]$ deployed_version: url: "https://git.trez.wtf" regex: 'Powered by Gitea\s+Version:\s+([0-9.]+) ' dashboard: - web_url: "https://github.com/go-gitea/gitea/releases/v{{ version }}" + web_url: "https://github.com/go-gitea/gitea/releases/v{% raw %}{{ version }}{% endraw %}" icon: "https://raw.githubusercontent.com/go-gitea/gitea/main/public/img/logo.png" gohugoio/hugo: latest_version: @@ -116,9 +114,9 @@ service: - type: regex regex: v([0-9.]+)$ require: - regex_content: hugo_{{ version }}_Linux-64bit\.deb + regex_content: hugo_{% raw %}{{ version }}{% endraw %}_Linux-64bit\.deb dashboard: - web_url: "https://github.com/gohugoio/hugo/releases/v{{ version }}" + web_url: "https://github.com/gohugoio/hugo/releases/v{% raw %}{{ version }}{% endraw %}" icon: "https://raw.githubusercontent.com/gohugoio/hugo/master/docs/static/img/hugo.png" gotify/server: latest_version: @@ -131,7 +129,7 @@ service: url: "https://gotify.trez.wtf/version" json: version dashboard: - web_url: "https://github.com/gotify/server/releases/v{{ version }}" + web_url: "https://github.com/gotify/server/releases/v{% raw %}{{ version }}{% endraw %}" icon: "https://github.com/gotify/logo/raw/master/gotify-logo.png" hashicorp/vault: latest_version: @@ -144,7 +142,7 @@ service: url: "https://vault.trez.wtf/v1/sys/health" json: version dashboard: - web_url: "https://github.com/hashicorp/vault/releases/v{{ version }}" + web_url: "https://github.com/hashicorp/vault/releases/v{% raw %}{{ version }}{% endraw %}" icon: "https://raw.githubusercontent.com/hashicorp/vault/main/ui/public/vault-logo.svg" immich-app/immich: latest_version: @@ -159,7 +157,7 @@ service: value: {{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['IMMICH_POWER_TOOLS_KEY'] }} dashboard: icon: "https://raw.githubusercontent.com/immich-app/immich/main/web/static/immich-logo.svg" - web_url: "https://github.com/immich-app/immich/releases/tag/v{{ version }}" + web_url: "https://github.com/immich-app/immich/releases/tag/v{% raw %}{{ version }}{% endraw %}" influxdata/influxdb: latest_version: type: github @@ -171,7 +169,7 @@ service: url: "https://influxdb.trez.wtf/health" json: version dashboard: - web_url: "https://github.com/influxdata/influxdb/releases/tag/v{{ version }}" + web_url: "https://github.com/influxdata/influxdb/releases/tag/v{% raw %}{{ version }}{% endraw %}" icon: "https://github.com/influxdata/ui/raw/master/src/writeData/graphics/influxdb.svg" jellyfin/jellyfin: latest_version: @@ -184,7 +182,7 @@ service: url: "https://jellyfin.trez.wtf/System/Info/Public" json: Version dashboard: - web_url: "https://github.com/jellyfin/jellyfin/releases/v{{ version }}" + web_url: "https://github.com/jellyfin/jellyfin/releases/v{% raw %}{{ version }}{% endraw %}" icon: "https://avatars.githubusercontent.com/u/45698031?s=200&v=4" Lidarr/Lidarr: options: @@ -204,7 +202,7 @@ service: json: version dashboard: icon: "https://raw.githubusercontent.com/Lidarr/Lidarr/develop/Logo/1024.png" - web_url: "https://github.com/Lidarr/Lidarr/releases/v{{ version }}" + web_url: "https://github.com/Lidarr/Lidarr/releases/v{% raw %}{{ version }}{% endraw %}" louislam/uptime-kuma: latest_version: type: github @@ -213,7 +211,7 @@ service: url: "https://status.trez.wtf/metrics" regex: app_version{version=\"([0-9.]+)\",major=\"[0-9]+\",minor=\"[0-9]+\",patch=\"[0-9]+\"} dashboard: - web_url: "https://github.com/louislam/uptime-kuma/releases/{{ version }}" + web_url: "https://github.com/louislam/uptime-kuma/releases/{% raw %}{{ version }}{% endraw %}" icon: "https://raw.githubusercontent.com/louislam/uptime-kuma/master/public/icon.png" morpheus65535/bazarr: latest_version: @@ -229,7 +227,7 @@ service: value: {{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['BAZARR_API_KEY'] }} json: data.bazarr_version dashboard: - web_url: "https://github.com/morpheus65535/bazarr/releases/v{{ version }}" + web_url: "https://github.com/morpheus65535/bazarr/releases/v{% raw %}{{ version }}{% endraw %}" icon: "https://raw.githubusercontent.com/morpheus65535/bazarr/master/frontend/public/images/logo128.png" n8n-io/n8n: latest_version: @@ -252,7 +250,7 @@ service: url: "https://cloud.trez.wtf/status.php" json: versionstring dashboard: - web_url: https://nextcloud.com/changelog/#latest{{ version | split:"." | slice:":1" | join:"" }} + web_url: "https://nextcloud.com/changelog/" icon: "https://github.com/nextcloud/server/raw/master/core/img/favicon.png" Prowlarr/Prowlarr: options: @@ -271,7 +269,7 @@ service: value: {{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['PROWLARR_API_KEY'] }} json: version dashboard: - web_url: "https://github.com/Prowlarr/Prowlarr/releases/v{{ version }}" + web_url: "https://github.com/Prowlarr/Prowlarr/releases/v{% raw %}{{ version }}{% endraw %}" icon: "https://avatars.githubusercontent.com/u/73049443?s=200&v=4" Radarr/Radarr: options: @@ -289,7 +287,7 @@ service: value: {{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['RADARR_API_KEY'] }} json: version dashboard: - web_url: "https://github.com/Radarr/Radarr/releases/v{{ version }}" + web_url: "https://github.com/Radarr/Radarr/releases/v{% raw %}{{ version }}{% endraw %}" icon: "https://avatars.githubusercontent.com/u/25025331?s=200&v=4" Readarr/Readarr: options: @@ -310,7 +308,7 @@ service: json: version dashboard: icon: "https://raw.githubusercontent.com/Readarr/Readarr/develop/Logo/1024.png" - web_url: "https://github.com/Readarr/Readarr/releases/v{{ version }}" + web_url: "https://github.com/Readarr/Readarr/releases/v{% raw %}{{ version }}{% endraw %}" Sonarr/Sonarr: options: semantic_versioning: false @@ -335,5 +333,5 @@ service: url: release-argus/argus dashboard: icon: "https://raw.githubusercontent.com/release-argus/Argus/master/web/ui/react-app/public/favicon.svg" - icon_link-to: https://release-argus.io - web_url: "https://github.com/release-argus/Argus/blob/master/CHANGELOG.md" \ No newline at end of file + icon_link-to: "https://release-argus.io" + web_url: "https://github.com/release-argus/Argus/blob/master/CHANGELOG.md"