Skip to content

Docker Setup

Kozejin edited this page Aug 12, 2024 · 3 revisions

This guide is for starting up the discord bot under docker.

Linux Docker Setup

Ubuntu 22.04 used in this guide.

  1. First you need to install docker to you machine.
sudo apt update
sudo apt install -y docker.io docker-compose git
  1. Then you're going to clone the repository.
git clone https://github.com/dkoz/palworld-palbot
cd palworld-palbot
  1. Next you need to configure the environment variables and server configuration.
cp .env.example .env
nano .env
  1. Now you need to build the docker container and start it up.
docker-compose build
docker-compose up -d

Additional Commands

You can check your docker logs by running the following commands:

docker-compose logs

You can start/stop your docker container using the following commands:

docker-compose up -d
docker-compose down

You can show full list of containers running the following commands:

-a flag will include offline contains.

docker ps
docker ps -a
Clone this wiki locally