Miscellaneous
There are additional options to set.
config
cron: 0 22 * * *
log:
timeformat: 2006-01-02 15:04:05
file-logging:
dir: log
file: gickup.log
maxage: 7
metrics:
prometheus:
endpoint: /metrics
listen_addr: ":6178"
heartbeat:
urls:
- http(s)://url-to-make-request-to
- http(s)://another-url-to-make-request-to
push:
ntfy:
- url: http(s)://url-to-ntfy/your-topic
token: your-token
user: your-user
password: your-password
gotify:
- url: http(s)://url-to-gotify
token: your-token
apprise:
- url: http(s)://url-to-apprise
config: your-config-id
notification_urls:
- urls-to-notify(https://github.com/caronc/apprise/wiki)
tags:
- your-tag
cron: you can add a cron expression to run gickup more than once. You can create and test the expression on https://crontab.guru/.
tip
If gickup runs in Docker, you might want to set the timezone for your container.
log: this is everything related to logging.timeformat: set it to a different time format for logging. The basics for time formats can be found at https://yourbasic.org/golang/format-parse-string-time-date-example/. This can also be set as an environment variable withGICKUP_TIME_FORMAT.file-logging: logs can also be stored in a file.dir: where to store your log.file: in which file to store your log.maxage: automatically cleanup files older than X days.
tip
if token is set, user and password are not used.
metrics: everything related to metrics.prometheus: enable prometheus metrics.endpoint: by default it is/metrics, but set it to whatever you prefer.listen_addr: by default it listens on:6178.
heartbeat: sendGETrequests to monitoring services like https://healthchecks.io/ or https://deadmanssnitch.com/.urls: list of urls.
push: you can configure pushgateways to get notifications on your phone/browserntfy: ntfy. a list with the following parametersurl: url to your ntfytoken: token of ntfy, can be an environment variableuser: your ntfy userpassword: your ntfly password
gotify: gotify. a list with the following parametersurl: url to your gotifytoken: token of gotify, can be an environment variable
apprise: appriseurl: url to your appriseconfig: the id of your configuration in apprisetags: tags that you defined in your configuration in apprise.notification_urls: if you don't use configuration, you can add urls to notify directly here. notification services