indes / flowerss-bot

A telegram bot for rss reader. 一个支持应用内阅读的 Telegram RSS Bot。
https://flowerss-bot.now.sh/
MIT License
1.83k stars 238 forks source link

使用docker部署,不知道为何容器一直退出? #165

Closed CenBoMin closed 2 years ago

CenBoMin commented 2 years ago

系统是:Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-84-generic x86_64) 尝试了编译的方式也是错误...目前看起来docker是比较有希望的了

[docker logs] CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f8d11914d0a0 indes/flowerss-bot "/bin/flowerss-bot" 14 seconds ago Exited (2) 12 seconds ago focused_meitner


/ | | ____ __ | || |/ \ \ /\ / / _ \ '/ / | | | | () \ V V / / | _ _ \ || ||_/ _/_/ _|_| |//

panic: Fatal error config file: While parsing config: yaml: line 2: mapping values are not allowed in this context

goroutine 1 [running]: github.com/indes/flowerss-bot/internal/config.init.0() /flowerss/internal/config/autoload.go:55 +0x1330

CenBoMin commented 2 years ago

查找一下是:后面要加空格,看了下之前的issues...找到了问题