2023-07-03 15:30:14 +02:00
|
|
|
# Database settings
|
|
|
|
database:
|
|
|
|
# PostgreSQL Database-URL
|
|
|
|
# Format: postgresql://<user>:<password>@<host>/<database>
|
|
|
|
# you can add optional postgres parameters after the database part, e.g. ?sslmode=verify-full
|
2024-11-06 11:16:12 +01:00
|
|
|
# see https://bun.uptrace.dev/postgres/#pgdriver for more database config options
|
|
|
|
url: "postgresql://humblebot:humblebot@db/humblebot?sslmode=disable"
|
2023-07-03 15:30:14 +02:00
|
|
|
|
|
|
|
# Mastodon Instance settings
|
|
|
|
mastodon:
|
|
|
|
# URL of your Mastodon Instance
|
|
|
|
# Format: https://mastodon.social (without trailing slash)
|
2024-11-06 11:16:12 +01:00
|
|
|
url: "https:///mastodon.social"
|
2023-07-03 15:30:14 +02:00
|
|
|
|
|
|
|
# Access token for your mastodon account
|
|
|
|
# see $your_mastodon_url/settings/applications
|
2024-11-06 11:16:12 +01:00
|
|
|
token: "a-secret-token"
|
2023-07-04 16:56:09 +02:00
|
|
|
|
|
|
|
# Interval in which humble-bot tries to post bundles
|
|
|
|
# format: "20s" or "15m" or "1h"
|
2024-11-06 11:16:12 +01:00
|
|
|
# default: 1h
|
|
|
|
postinterval: "1h"
|
2023-07-04 16:56:09 +02:00
|
|
|
|
2023-07-07 11:03:41 +02:00
|
|
|
# Post visibility of the bundles on mastodon
|
2023-07-07 09:32:01 +02:00
|
|
|
# allowed values: ["public", "unlisted", "private"]
|
2024-11-06 11:16:12 +01:00
|
|
|
# default: private
|
|
|
|
visibility: "private"
|
|
|
|
|
|
|
|
# Humble Bot logging settings
|
|
|
|
logging:
|
|
|
|
# enable colored logging
|
|
|
|
# default: false
|
|
|
|
colored_output: false
|
2023-07-07 09:32:01 +02:00
|
|
|
|
2023-07-04 16:56:09 +02:00
|
|
|
# Humble Bundle settings
|
|
|
|
humblebundle:
|
|
|
|
# Interval in which humble-bot tries to query humblebundle.com
|
|
|
|
# format: "20s" or "15m" or "1h"
|
|
|
|
# default: 30m
|
2024-11-06 11:16:12 +01:00
|
|
|
pollinterval: "30m"
|