Sign inSign up

weltraumpenner/mydealz_bot

By weltraumpenner

•Updated about 1 year ago

Image
0

3.3K

weltraumpenner/mydealz_bot repository overview

This is a Docker container to run a telegram bot that tracks mydealz.de for new deals.

⁠Usage
⁠Command line
docker run -d --name=mydealz_bot \
--restart=always \
-v /opt/mydealz_bot/files:/usr/src/app/files \
-v /etc/localtime:/etc/localtime:ro \
--env BOT_TOKEN=<<YOUR_BOT_TOKEN>> \
weltraumpenner/mydealz_bot:latest
⁠Command line Options
ParameterDescription
--restart=alwaysStart the container when Docker starts (i.e. on boot/reboot).
-v /opt/mydealz_bot/files:/usr/src/app/filesMount directory /usr/src/app/files from host machine. This directory contains the database, persistent chat-data and logs
-v /etc/localtime:/etc/localtime:roUse correct timezone from docker-host
--env BOT_TOKEN=<<YOUR_BOT_TOKEN>>Your telegram-bot token. You can create one with @BotFather
--env OWN_ID=<<YOUR_TELEGRAM_ID>>Your telegram-user-id. It's used to forward error-messages
⁠docker-compose
version: '3'
services:
  mydealz:
    container_name: mydealz
    image: weltraumpenner/mydealz_bot:latest
    restart: always
    volumes:
      - /opt/mydealz_bot/files:/usr/src/app/files
      - /etc/localtime:/etc/localtime:ro
    environment:
      - BOT_TOKEN=<<YOUR_BOT_TOKEN>>
      - OWN_ID=<<YOUR_TELEGRAM_ID>>

Tag summary

Content type

Image

Digest

sha256:b7d2dbef1…

Size

61.2 MB

Last updated

about 1 year ago

docker pull weltraumpenner/mydealz_bot