tg bot 机器人自搭建服务端
1.1K
services:
botupload:
image: mine233/telegram-bot-server
container_name: botupload
privileged: true
ports:
- "8082:8081"
environment:
API_ID: "" #API_ID https://my.telegram.org/auth获取
API_HASH: "" #API_HASH https://my.telegram.org/auth获取
BOT_TOKEN: "" # @BotFather
API_ROOT: "http://127.0.0.1:8081" #telegram-bot-api 自建服务器:https://tdlib.github.io/telegram-bot-api/ # 默认容器自带为http://127.0.0.1:8081
# AList 配置
ALIST_ON: "true" # 是否开启AList 功能
ALIST_HOST: "" # AList 服务器地址
ALIST_AUTH: "" # AList 令牌
ALIST_SAVE_PATH: "" # 保存的目录
volumes:
- $PWD/data:/home/telegram-bot-api/data # 下载的数据存放目录
tty: true
stdin_open: true
# telegram-bot-api配置
export API_ID=""
export API_HASH=""
# Bot配置
export BOT_TOKEN=""
export API_ROOT=""
# AList 配置
export ALIST_ON=""
export ALIST_HOST=""
export ALIST_AUTH=""
export ALIST_SAVE_PATH=""
Content type
Image
Digest
sha256:9ed1df3f7…
Size
77.8 MB
Last updated
over 2 years ago
docker pull mine233/telegram-bot-server