rbarisic-lme / pal-dash

Palworld Server Dashboard compatible with docker-palworld-dedicated-server distribution
3 stars 1 forks source link

PalDash - Palworld Server Dashboard & Control Panel

image image

Palworld Dashboard and Control Panel for Self-Hosted Dedicated Palworld Servers

Admin Mode

An admin account currently has to be set up manually. run npm run password <yourpassword> in ./pw-back/ to create a hashed password, then copy it into the build process, whether you use .env files or the ./setup.sh script

Setup

There's a build script available in the ./bin folder of the project root.

1. Install Dependencies

1.1 Docker & Docker-Compose
1.1.1 CouchDB
1.2 Packages
sudo apt install wget unzip openssl 

2. Install PalDash

chmod a+x ./setup.sh

This starts a semi-interactive installer. You will be prompted to set environment variables and supply the right folders used for sourcing the data. It's important to point the environment to the right folders, but since the frontend uses sveltekit, the env variables have to be declared at runtime. This is done by running the build.sh, which contains environment variables as argument overloads.

Manual Build Steps

Building the Projects

chmod a+x ./bin/build-all.sh
bin/build-all.sh

This will install the backend and frontend as runnable services:

Installing Services

chmod a+x ./bin/install-services.sh
bin/install-services.sh

This will install the backend and frontend as runnable services:

These will run in the background and are manageable via systemd.

Service Commands

sudo service pw-back [start|stop|status|reload]
sudo service pw-front [start|stop|status|reload]

use

I've tried to make this work as a docker container but there's still some problems with the environment variables

and accessing storage & docker ps command. I'll fix this later on, if I find the time.

Compatibility

This Control Panel makes a few assumptions about your Setup:

You can also just run this inside the provided docker container by running docker-compose.

I'm automatically deploying this to my server with a bitbucket pipeline so I can't provide help with this.

Configuration (Docker config not yet working)

Edit the ENV files in the .docker-compose to change the configuration. This is still WIP so I won't provide a config list just yet.

Attributions