Files
TelegramContactBot/docker-compose.yml
EchoZenith a4760bc373 feat: initial project setup
- Add bot.py with core Telegram Contact Bot logic
- Add Dockerfile and docker-compose for containerization
- Add requirements.txt for dependency management
- Add .env.example for environment configuration
2026-01-25 20:19:56 +08:00

19 lines
295 B
YAML

version: '3.8'
services:
tg-bot:
build: .
container_name: tg-contact-bot
restart: always
# 环境变量配置
env_file:
- .env
volumes:
- ./data:/app/data
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"