A Telegram bot built in Go to automatically track and report Vietnam gold prices and stock market changes.
- Docker Desktop (or another Docker engine) installed on your system.
-
Configure the Environment Before starting the application, you need to set up your Telegram credentials. Copy the provided template to create your
.envfile:cp .env.example .env
-
Add your Secrets Open the newly created
.envfile and insert yourTELEGRAM_BOT_TOKENand yourTELEGRAM_CHAT_ID. You can also tweak theCRON_SCHEDULEif you want to change how frequently the bot checks prices. -
Start the Application Run the bot in the background using Docker Compose:
docker compose up -d --build
- To stop the bot:
docker compose down - To view logs:
docker compose logs -f