Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 533 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 533 Bytes

TON VS Bot

Instruction

Setup bot

  • Place telegram token in private/telegram_token and postgres password in private/postgres_password.
  • Build image: docker-compose build
  • Run: docker-compose up -d

Setup backups

  • Place postgres password to private/postgres_password.
  • Add line 0 0 * * * `pwd`/backup.sh to crontab: crontab -l | { cat; echo "0 0 * * * `pwd`/backup.sh `pwd`/private/postgres_password"; } | sudo crontab -