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