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

Install and run using docker

Aahnik Daw edited this page Apr 3, 2021 · 10 revisions

It is assumed that you are familiar with basic docker commands.

Make sure you have understood how telewater is run by passing certain variables via command-line options or by setting them as environment variables. Read Telewater CLI usage to learn about the telewater CLI.

Install

Docker should be properly installed and running in your system.

$ docker pull aahnik/telewater

Configure

Put all your environment variables as described in Telewater CLI usage, in a file. Let's say .env

The file looks somewhat like this:

API_ID=13.....1
API_HASH=49111111ed8...........b09fb7dd1
BOT_TOKEN=1452222220:AAG_...................tbssssQ8
BOT_USERNAME=yourAwesomeName_bot

Run

Now you can use the docker run command, and pass the .env file for the --env-file option.

$ docker run -it -d --env-file .env aahnik/telewater

Check

To see if your container is running,

$ docker ps

To see the logs produced by the container,

$ docker logs 


Clone this wiki locally