This repository contains the necessary compose files for deploying TDLight Telegram Bot API in a production environment.
- Docker
- docker-compose
- 80 and 443 port access
- Edit the files
traefik.conf
,botapi.conf
andtraefik/confs/middlewares.conf
with your domains and passwords - Enter
traefik/
and rundocker-compose up -d
- Enter
botapi/
and rundocker-compose up -d
- If you already use another reverse proxy service or your ports are already used by another proccesses update the configuration accordingly
- You need access to Docker socket, check the permissions
- Check the DNS records
- Don't use the "Cloudflare orange cloud" for the botapi domain. Free accounts are limited to max 50MB per request. Cloudflare is useless for this setup anyway.