Skip to content

Commit

Permalink
Merge pull request #21 from merutech/bump-babyrite-v0.14.0
Browse files Browse the repository at this point in the history
deps: Bump babyrite v0.14.0
  • Loading branch information
m1sk9 authored Jan 23, 2025
2 parents b99c2dd + 19f194e commit 5b8cca9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion babyrite/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
app:
image: ghcr.io/m1sk9/babyrite:v0.13.19
image: ghcr.io/m1sk9/babyrite:v0.14.0
env_file:
- .env
volumes:
Expand Down
27 changes: 23 additions & 4 deletions babyrite/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
### babyrite configuration ###
logger_format='compact'
### babyrite configuration file ###
# This file is used for babyrite configuration.
# By changing this configuration, you can modify the behavior of babyrite. Please restart babyrite after changing the settings.
# The settings are written in TOML format. To use the configuration file, specify the recursive path to the configuration file in the environment variable "CONFIG_FILE_PATH" injected into the container.
# Note that babyrite will run with default settings if not configured.

[preview]
is_mention=true
# Startup settings (Feature Flags)
## Flags to change the behavior of babyrite. Specify them separated by commas. The default is empty.
## The valid flags are as follows:
## - "json_logging": Outputs logs in JSON format (useful when integrating with log collection tools like Grafana Loki)
feature_flag = ""

# Mention settings for preview generation (default is enabled)
## Mentions the request sender when generating a preview.
is_mention = true

# Preview deletion feature (default is enabled)
## Sets whether to enable the deletion of previews. If enabled, a trash can reaction is added to each preview, and pressing the reaction will delete it.
## If disabled, the reaction is not added, and pressing the reaction will not delete the preview.
is_deletable = true

# Allow NSFW (Not Safe For Work) content (default is disabled)
## Sets whether to allow the generation of messages from channels marked as NSFW. It is strongly recommended to disable this setting on community servers.
is_allow_nsfw = false

0 comments on commit 5b8cca9

Please sign in to comment.