First you need to generate a self-signed certificate. Certificate authority is not required to place on the client side.
openssl genrsa -out private.key 2048
openssl req -new -key private.key -out cert.csr
openssl x509 -req -days 36500 -in cert.csr -signkey private.key -out cert.crt
- create
.env
(see env.example) - make sure BOT_TOKEN is the correct secret for your Telegram bot.
docker compose up --build
curl -X GET https://localhost:9374/ \
--cert cert.crt \
--key private.key \
--insecure
- Using pip:
pip install -r requirements.txt
- Using poetry:
poetry install
- Using uv:
uv sync