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 May 11, 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.

Install

Docker should be properly installed and running in your system.

docker pull aahnik/telewater

Run

Write all your environment variables in a file called .env and then use the docker run command to start the bot.

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

Note:

  • the -d flag tells the docker command to run the container in detached mode.
  • the --env-file option passes the file .env for its variables to be used inside the container.

Check

To see if your container is running,

$ docker ps
CONTAINER ID   IMAGE               COMMAND       CREATED          STATUS          PORTS     NAMES
ae4d7d6651ca   aahnik/telewater    "telewater"   3 minutes ago    Up 3 minutes              zen_gates

The container id and name will be different in your machine.

To see the logs produced by the container,

docker logs zen_gates

Replace zen_gates with the name of the container in your machine.

Clone this wiki locally