Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Can't start bot in docker-compose #201

Open
auterpring opened this issue Jan 17, 2022 · 2 comments
Open

Can't start bot in docker-compose #201

auterpring opened this issue Jan 17, 2022 · 2 comments

Comments

@auterpring
Copy link

auterpring commented Jan 17, 2022

After starting, container always restarts

logs:

level=error ts=2022-01-17T12:14:47.561730445Z caller=main.go:215 component=telegram msg="failed to create bot" err="bad response json: json: cannot unmarshal number 5090334062 into Go struct field User.Result.id of type int"

compose file:
alert_bot:
image: bohdantverdyi/alertmanager-bot-arm:0.4.2
container_name: alert_bot
restart: always
ports:
- 8080:8080
volumes:
- ./data:/data
command:
- --alertmanager.url=http://localhost:9093
- --log.level=info
- --store=bolt
- --bolt.path=/data/bot.db
environment:
TELEGRAM_ADMIN: "Admin ID"
TELEGRAM_TOKEN: 5090334062:

@murawew64
Copy link

I have equal issue today when i start ./alertmanager-bot-0.4.3-linux-arm (precompile version), don't know how to solve the problem.

@muocod
Copy link

muocod commented Feb 4, 2022

Any news?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants