Files
PteroStats/guide/docker.md

713 B

Docker

This is a guide to run the bot using docker (alternative way to run the bot).

Installation

curl -fsSL https://get.docker.com | sh

Docker Compose

  • Copy the docker-compose.yml file to your server and run docker compose pull

  • Copy the config.yml file at the same directory as the docker-compose.yml file and configure it (refer to the Starting the App/Bot section)

    docker compose up -d
    docker compose logs -f pterostats
    

Docker Run

docker run -d --name pterostats -v $(pwd)/config.yml:/app/config.yml ghcr.io/hirzidevs/pterostats:latest
docker logs -f pterostats