-
-
Notifications
You must be signed in to change notification settings - Fork 9
Docker Setup
Kozejin edited this page Aug 12, 2024
·
3 revisions
This guide is for starting up the discord bot under docker.
Ubuntu 22.04 used in this guide.
- First you need to install docker to you machine.
sudo apt update
sudo apt install -y docker.io docker-compose git
- Then you're going to clone the repository.
git clone https://github.com/dkoz/palworld-palbot
cd palworld-palbot
- Next you need to configure the environment variables and server configuration.
cp .env.example .env
nano .env
- Now you need to build the docker container and start it up.
docker-compose build
docker-compose up -d
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