[Add] Added main func of container

This commit is contained in:
2024-07-31 16:07:06 +03:00
parent 93237ec7d2
commit 24af11f88a
4 changed files with 145 additions and 3 deletions

17
docker-compose Normal file
View File

@@ -0,0 +1,17 @@
version: '3.9'
services:
telegram_bot_docker_tmpl:
container_name: MireaCheckBot
image: mirea_check_bot
build: .
environment:
- BOT_TOKEN=${BOT_TOKEN}
volumes:
- ./logs:/~/TelegramBotDockerTmpl/logs
restart: on-failure