diff --git a/.gitignore b/.gitignore index d656be4..46bbae9 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ !caddy/config/** !.gitea/**/* !gitea/runner/config.yaml -!monitoring/glance/**/* \ No newline at end of file +!monitoring/glance/**/* +!monitoring/scrutiny/config/scrutiny/config/scrutiny.yaml \ No newline at end of file diff --git a/monitoring/glance/config/home.yml b/monitoring/glance/config/home.yml index 4e3f801..884bad1 100644 --- a/monitoring/glance/config/home.yml +++ b/monitoring/glance/config/home.yml @@ -24,6 +24,26 @@ - size: full widgets: + - type: monitor + title: Sereia Guardiã + cache: 1m + sites: + - title: Pro + url: https://pro.sereiaguardia.com + icon: /assets/sereiaguardia.webp + - title: Files + url: https://files.sereiaguardia.com:8088 + icon: di:filebrowser.svg + - title: n8n + url: https://n8n.sereiaguardia.com + icon: di:n8n.svg + - title: Mautic + url: https://mautic.sereiaguardia.com/s/login + icon: di:mautic.svg + - title: Pangolin + url: https://pangolin.sereiaguardia.com + icon: di:pangolin.svg + - type: monitor title: arr-stack cache: 1m @@ -75,6 +95,9 @@ - title: Scrutiny url: http://192.168.1.202:8081/ icon: di:gitea.svg + - title: NAS + url: http://192.168.1.65/ + icon: di:nas.svg - type: monitor title: Services - Internet @@ -116,25 +139,7 @@ url: http://192.168.1.202:8081/ icon: di:gitea.svg - - type: monitor - title: Sereia Guardiã - cache: 1m - sites: - - title: Pro - url: https://pro.sereiaguardia.com - icon: /assets/sereiaguardia.webp - - title: Files - url: https://files.sereiaguardia.com:8088 - icon: di:filebrowser.svg - - title: n8n - url: https://n8n.sereiaguardia.com - icon: di:n8n.svg - - title: Mautic - url: https://mautic.sereiaguardia.com/s/login - icon: di:mautic.svg - - title: Pangolin - url: https://pangolin.sereiaguardia.com - icon: di:pangolin.svg + - size: small widgets: diff --git a/monitoring/scrutiny/config/scrutiny/config/scrutiny.yaml b/monitoring/scrutiny/config/scrutiny/config/scrutiny.yaml new file mode 100644 index 0000000..05e20eb --- /dev/null +++ b/monitoring/scrutiny/config/scrutiny/config/scrutiny.yaml @@ -0,0 +1,106 @@ +# Commented Scrutiny Configuration File +# +# The default location for this file is /opt/scrutiny/config/scrutiny.yaml. +# In some cases to improve clarity default values are specified, +# uncommented. Other example values are commented out. +# +# When this file is parsed by Scrutiny, all configuration file keys are +# lowercased automatically. As such, Configuration keys are case-insensitive, +# and should be lowercase in this file to be consistent with usage. + + +###################################################################### +# Version +# +# version specifies the version of this configuration file schema, not +# the scrutiny binary. There is only 1 version available at the moment +version: 1 + +web: + listen: + port: 8080 + host: 0.0.0.0 + + # if you're using a reverse proxy like apache/nginx, you can override this value to serve scrutiny on a subpath. + # eg. http://example.com/scrutiny/* vs http://example.com:8080 + # see docs/TROUBLESHOOTING_REVERSE_PROXY.md + # basepath: `/scrutiny` + # leave empty unless behind a path prefixed proxy + basepath: '' + database: + # can also set absolute path here + location: /opt/scrutiny/config/scrutiny.db + src: + # the location on the filesystem where scrutiny javascript + css is located + frontend: + path: /opt/scrutiny/web + + # if you're running influxdb on a different host (or using a cloud-provider) you'll need to update the host & port below. + # token, org, bucket are unnecessary for a new InfluxDB installation, as Scrutiny will automatically run the InfluxDB setup, + # and store the information in the config file. If you 're re-using an existing influxdb installation, you'll need to provide + # the `token` + influxdb: +# scheme: 'http' + host: 0.0.0.0 + port: 8086 +# token: 'my-token' +# org: 'my-org' +# bucket: 'bucket' + retention_policy: true + # if you wish to disable TLS certificate verification, + # when using self-signed certificates for example, + # then uncomment the lines below and set `insecure_skip_verify: true` + # tls: + # insecure_skip_verify: false + +log: + file: '' #absolute or relative paths allowed, eg. web.log + level: INFO + + +# Notification "urls" look like the following. For more information about service specific configuration see +# Shoutrrr's documentation: https://containrrr.dev/shoutrrr/services/overview/ +# +# note, usernames and passwords containing special characters will need to be urlencoded. +# if your username is: "myname@example.com" and your password is "124@34$1" +# your shoutrrr url will look like: "smtp://myname%40example%2Ecom:124%4034%241@ms.my.domain.com:587" + +notify: + urls: +# - "discord://token@webhookid" +# - "telegram://token@telegram?channels=channel-1[,channel-2,...]" +# - "pushover://shoutrrr:apiToken@userKey/?priority=1&devices=device1[,device2, ...]" +# - "slack://[botname@]token-a/token-b/token-c" +# - "smtp://username:password@host:port/?fromAddress=fromAddress&toAddresses=recipient1[,recipient2,...]" +# - "teams://token-a/token-b/token-c" +# - "gotify://gotify-host/token" +# - "pushbullet://api-token[/device/#channel/email]" +# - "ifttt://key/?events=event1[,event2,...]&value1=value1&value2=value2&value3=value3" +# - "mattermost://[username@]mattermost-host/token[/channel]" + - "ntfy://ccalifice:malvado6696@http://192.168.1.202:9898/smart" +# - "hangouts://chat.googleapis.com/v1/spaces/FOO/messages?key=bar&token=baz" +# - "zulip://bot-mail:bot-key@zulip-domain/?stream=name-or-id&topic=name" +# - "join://shoutrrr:api-key@join/?devices=device1[,device2, ...][&icon=icon][&title=title]" +# - "script:///file/path/on/disk" +# - "https://www.example.com/path" + +######################################################################################################################## +# FEATURES COMING SOON +# +# The following commented out sections are a preview of additional configuration options that will be available soon. +# +######################################################################################################################## + +#limits: +# ata: +# critical: +# error: 10 +# standard: +# error: 20 +# warn: 10 +# scsi: +# critical: true +# standard: true +# nvme: +# critical: true +# standard: true diff --git a/utils/docker-compose.yml b/utils/docker-compose.yml index 100009c..eb52aae 100644 --- a/utils/docker-compose.yml +++ b/utils/docker-compose.yml @@ -36,4 +36,17 @@ services: SYSTEM_MAXFILESIZE: "100" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - restart: on-failure:5 \ No newline at end of file + restart: on-failure:5 + + wallos: + container_name: wallos + image: bellamy/wallos:latest + ports: + - "8484:80/tcp" + environment: + TZ: 'America/Sao_Paulo' + # Volumes store your data between container upgrades + volumes: + - './db:/var/www/html/db' + - './logos:/var/www/html/images/uploads/logos' + restart: unless-stopped \ No newline at end of file