Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.49 KB

README.md

File metadata and controls

52 lines (39 loc) · 1.49 KB

Hilfmir: A Telegram language translation bot

Target languages currently supported:

  • English
  • German
  • French
  • Spanish
  • Russian
  • Korean

Docker builds

Currently 2 docker builds are available: the "vanilla" multistage Dockerfile and the more advanced dependecies-caching Dockerfile-with-chef, which uses cargo-chef to cache the dependencies and speed up incremental builds.

In order to use the Dockerfile-with-chef, make sure you have the following in Cargo.toml:

[dependencies]
...
# Use vendored openssl. We don't depend on it directly.
openssl = { version = "0.10.41", features = ["vendored"], optional = true }

[features]
vendored-openssl = ["openssl"]

Webhook

To configure a webhook that Telegram can send push notifications, set the following environment variables:

WEBHOOK_MODE=true
DOMAIN_HOST=your.domain

TODO:

Add Github Action to push to Dockerhub when releasing.