Palisade

Palisade

Docker app from shakes_63's Repository

Overview

Palisade - a web control panel for game dedicated servers (ARK ASA/ASE, Conan, Palworld, Minecraft Java + Bedrock, Icarus, Valheim, 7 Days to Die, Enshrouded, Project Zomboid, V Rising, Sons of the Forest, Satisfactory, Life is Feudal: Your Own, American Truck Simulator). Manages every setting, mods, backups, schedules, players, and port-forwards, and spawns one container per game server. Controls Docker through the host socket mounted at /var/run/docker.sock.

Palisade

Formerly ARK Server Manager — it outgrew the name. Old repo links redirect.

Now on Unraid Community Applications — search "Palisade" in the Apps tab.

A self-hosted, Docker-based control panel for game dedicated servers — built Unraid-first, but it runs on any Linux box with Docker. One lean manager container spawns and supervises a container per game server, manages every setting through schema-driven forms, and handles mods, backups, schedules, player administration, and even your router's port-forwards.

Supported games (21):

Game Runtime Console Mods
ARK: Survival Ascended Proton (POK image) RCON CurseForge browser
ARK: Survival Evolved native RCON Steam Workshop browser
Conan Exiles native RCON Steam Workshop browser
Palworld native RCON UE4SS/pak uploader
Minecraft (Java) native (itzg) RCON CurseForge modpacks (auto-install)
Minecraft Bedrock native (itzg) add-on pack uploader
Icarus Wine .pak uploader
Valheim native (lloesche) Thunderstore browser (auto-deps)
7 Days to Die native (LinuxGSM) telnet (in-app) mod-zip uploader
Enshrouded Proton — (game has no mod support)
Project Zomboid native (Java) RCON Steam Workshop browser (auto Mod-ID)
V Rising Wine RCON (announce) — (game has no official mod support)
Sons of the Forest Wine — (game has no official mod support)
Satisfactory native — (HTTPS API: auto-claim) — (SFTP per upstream docs)
Life is Feudal: Your Own Wine (+ bundled MariaDB) — (in-game GM password) — (file-based per upstream docs)
American Truck Simulator native — (optional mods via session host)
Euro Truck Simulator 2 native — (optional mods via session host)
Core Keeper native — (no ports needed: Steam-relay Game ID joins)
Terraria (TShock) native — (REST-powered counts) plugin folder (TShock ServerPlugins)
Factorio native RCON mods folder (+ mod-portal auto-update)
Rust native RCON Oxide/uMod toggle (plugins folder)

Feature highlights

  • Create → install → start with per-game readiness detection, graceful shutdown, a crash watchdog, and a RAM guard that offers to back up + swap servers when memory is tight.
  • Full per-game settings catalogs with presets, copy-between-servers, and restart-needed tracking.
  • Live player counts for every game (A2S / RakNet ping / RCON / Valheim status endpoint) with 1-hour sparklines, plus a Players roster captured from player lists and join logs — kick / ban / whitelist / admin per game.
  • Backups: manual + scheduled with retention, restore, browser download, and saves import. The manager also snapshots its own database nightly.
  • Schedules (restart / update / backup / stop / start) with in-game countdown warnings, pre-action snapshots, and a "skip while players are online" guard.
  • ARK cluster support (shared transfer dir across servers).
  • Discord/webhook notifications, host low-disk warnings, editable ports with a start-time port-conflict guard.
  • Optional pfSense integration: one-click WAN port-forward create/fix/enable/disable/delete per server via the pfSense REST API.

See PLANNING.md for architecture details.

Architecture at a glance

palisade (this app) ────/var/run/docker.sock──> Docker daemon
   Next.js UI + NestJS API                       │ spawns
   SQLite · config engine · RCON · scheduler     ▼
                                       one container per game server

The manager is a control plane only — it contains no game runtime. Each game server runs in its own container from a proven community image; the manager injects config, watches logs, and talks RCON/telnet/query protocols.


Installation

Prerequisites

  • Docker on a Linux host (Unraid, Debian/Ubuntu, etc.). 16 GB+ RAM recommended — a single populated game server wants 2–16 GB depending on the game.

  • A Docker bridge network for the manager (game containers join it too unless you use host networking):

    docker network create ark-net
    
  • Two secrets (generate once, keep safe — SECRETS_KEY encrypts stored API keys/passwords, so losing it means re-entering them):

    echo "SECRETS_KEY=$(openssl rand -hex 32)"
    echo "JWT_SECRET=$(openssl rand -hex 32)"
    
  • For the Wine/Proton games (Icarus, Enshrouded, V Rising, Sons of the Forest, LiF:YO), the host needs a larger mmap limit or the server crashes on boot:

    sysctl -w vm.max_map_count=262144
    # persist it: /etc/sysctl.conf, or on Unraid append to /boot/config/go
    

Option A — Unraid (Community Applications) ⭐ recommended

Palisade is in Community Applications: open the Apps tab, search for Palisade, and install. The template pre-fills everything except your two secrets (SECRETS_KEY, JWT_SECRET — generators above) and the app-data path. The prerequisites above still apply: create the ark-net network and set the vm.max_map_count sysctl once.

Two Unraid-specific notes baked into the template:

  • Use a path on the cache disk itself (/mnt/cache/appdata/...), not /mnt/user/... — the ARK game-file cache reflink-clones between servers, which needs one real filesystem.
  • Spawned game servers appear on the Docker page with per-game icons and WebUI buttons that deep-link back into Palisade.

(Manual alternative: drop unraid/palisade.xml into /boot/config/plugins/dockerMan/templates-user/.)

Option B — plain docker run

docker run -d \
  --name palisade \
  --network ark-net \
  --restart unless-stopped \
  -p 8970:3000 \
  -v /opt/palisade:/data \
  -v /var/run/docker.sock:/var/run/docker.sock \
  --add-host host.docker.internal:host-gateway \
  -e NODE_ENV=production \
  -e DATA_DIR=/data \
  -e DATABASE_URL=file:/data/db.sqlite \
  -e HOST_DATA_DIR=/opt/palisade \
  -e PUBLIC_BASE_URL=http://YOUR-LAN-IP:8970 \
  -e SECRETS_KEY=<64 hex chars> \
  -e JWT_SECRET=<random string> \
  -e PUID=99 -e PGID=100 \
  -e TZ=America/Chicago \
  -e GAME_HOST_NETWORK=true \
  ghcr.io/shakes63/palisade:latest

Then open http://YOUR-LAN-IP:8970 and complete the first-run wizard (create the admin account; API keys are optional and can be added later in Settings).

Option C — docker compose

A reference docker-compose.yml ships in the repo:

export SECRETS_KEY=... JWT_SECRET=... HOST_DATA_DIR=/opt/palisade
docker compose up -d

Environment variables

Variable Required Default What
SECRETS_KEY yes 64 hex chars (32 bytes). Encrypts stored secrets at rest.
JWT_SECRET yes Signs login tokens (sessions last 30 days).
HOST_DATA_DIR yes¹ DATA_DIR The data dir as the host's Docker daemon sees it (e.g. /mnt/user/appdata/ark-manager on Unraid). Game-container bind mounts resolve on the host, not inside the manager.
DATA_DIR no ./data Data dir inside the manager container (mount your volume here, conventionally /data).
DATABASE_URL no file:./data/db.sqlite SQLite path — keep it inside DATA_DIR.
PUBLIC_BASE_URL no http://localhost:3000 The address you actually browse to. Used for links and Unraid WebUI buttons.
GAME_HOST_NETWORK no false true = game containers use host networking (recommended — ASA/EOS and Steam query behave better without Docker NAT). Requires the --add-host host.docker.internal:host-gateway flag on the manager so it can still reach RCON/query.
DOCKER_HOST no unix socket Point at tcp://socket-proxy:2375 for least-privilege Docker access (docker-socket-proxy).
PUID / PGID no 99 / 100 Ownership for game files written by the manager (Unraid's nobody:users by default).
TZ no UTC Manager clock; also the default for game containers and schedules (overridable in Settings).

¹ Required whenever the container path and host path differ — i.e. basically always in production.

Data layout

Everything lives under your data dir — one directory to back up:

/data
├── db.sqlite            # server definitions, schedules, players, settings
├── instances/<id>/      # each server's game files + world saves
├── backups/<id>/        # world snapshots (retention-rotated)
├── backups/_manager/    # nightly self-backups of db.sqlite (newest 14)
└── clusters/<id>/       # ARK cluster transfer dirs

Deleting a server from the UI asks whether to wipe its instance + backups, and offers a browser download of the world saves first.

Updating

The image is rebuilt on every push to main (GitHub Actions → ghcr.io/shakes63/palisade:latest). To update: pull the new image and recreate the container (Unraid's update button does both). Database migrations run automatically on boot.


Integrations (all optional, all in Settings)

Integration What it enables What you need
CurseForge API key ASA mod browser, Minecraft modpack browser Free key from https://console.curseforge.com/
Steam Web API key ASE/Conan Workshop browser Free key from https://steamcommunity.com/dev/apikey
Discord webhook State changes, crashes, backups, schedule events A channel webhook URL
pfSense Per-server WAN port-forward management (create / fix / enable / disable / delete, WAN IP display) The free pfSense REST API package on your router + an API key (System → REST API). Works with any pfSense — nothing is network-specific. Use the Test connection button to validate.

CurseForge terms: the mod browser uses the CurseForge API read-only to search and display mods; it never downloads or redistributes mod files — the game servers fetch mods themselves through official integrations. Bring your own key; keys are non-transferable under CurseForge's 3rd-party API terms. This repo does not ship one.

Reverse proxy / TLS

The app is LAN-first but proxy-friendly:

  • Front it with Nginx Proxy Manager / Traefik / Caddy with TLS; proxy /, /api, and /socket.io to the web port (container port 3000) — the web app forwards API + websocket traffic internally.
  • Set PUBLIC_BASE_URL to the external origin.
  • The manager controls Docker via the host socket. If you expose the UI beyond your LAN, strongly consider the socket-proxy setup above.

Development

pnpm install

# generate secrets, then copy .env.example → .env
node -e "console.log('SECRETS_KEY=' + require('crypto').randomBytes(32).toString('hex'))"
node -e "console.log('JWT_SECRET='  + require('crypto').randomBytes(32).toString('hex'))"

pnpm --filter @ark/api db:push   # create the dev SQLite db
pnpm dev                         # API on :8787 + web on :3000
pnpm --filter @ark/api test      # unit tests

Monorepo layout: packages/shared (types + settings catalogs contract), apps/api (NestJS orchestrator), apps/web (Next.js UI), docker/ (manager entrypoint), unraid/ (CA template).

Acknowledgements

Palisade is a control plane — the actual game servers run on excellent community-maintained images. Huge thanks to their maintainers; this project wouldn't exist without them:

Game(s) Image Maintainer / project
ARK: Survival Ascended acekorneya/asa_server Acekorneya (POK)
Conan Exiles acekorneya/conan_enhanced_server Acekorneya (POK)
ARK: Survival Evolved hermsi/ark-server Hermsi1337
Palworld thijsvanloef/palworld-server-docker Thijs van Loef
Minecraft (Java) itzg/minecraft-server itzg (Geoff Bourne)
Minecraft Bedrock itzg/minecraft-bedrock-server itzg (Geoff Bourne)
Icarus mornedhels/icarus-server mornedhels
Enshrouded mornedhels/enshrouded-server mornedhels
Valheim lloesche/valheim-server lloesche / community-valheim-tools
7 Days to Die vinanrra/7dtd-server vinanrra (built on LinuxGSM)
Project Zomboid danixu86/project-zomboid-dedicated-server Danixu
V Rising trueosiris/vrising TrueOsiris
Sons of the Forest jammsen/sons-of-the-forest-dedicated-server jammsen
Satisfactory wolveix/satisfactory-server wolveix
Life is Feudal: Your Own ich777/steamcmd:lifyo ich777
American Truck Simulator ich777/steamcmd:ats ich777
Euro Truck Simulator 2 ich777/steamcmd:ets2 ich777
Core Keeper escaping/core-keeper-dedicated escaping.network
Terraria ryshe/terraria Ryan Sheehan (built on TShock)
Factorio factoriotools/factorio factoriotools
Rust didstopia/rust-server Didstopia

Also standing on: SteamCMD, GE-Proton/Wine for the Windows-only servers, Thunderstore (Valheim mod index), and the CurseForge + Steam Web APIs for mod browsing.

License

MIT © 2026 Jacob Neudorf. Not affiliated with Studio Wildcard, Overwolf/CurseForge, Valve, Iron Gate, The Fun Pimps, Keen Games, RocketWerkz, Funcom, Pocketpair, Mojang, or Netgate.

Install Palisade on Unraid in a few clicks.

Find Palisade in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for Palisade Review the template variables and paths Click Install

Related apps

Details

Repository
ghcr.io/shakes63/palisade:latest
Last Updated2026-07-09
First Seen2026-07-09

Runtime arguments

Web UI
http://[IP]:[PORT:3000]/
Network
ark-net
Privileged
false
Extra Params
--add-host host.docker.internal:host-gateway

Template configuration

Web UIPorttcp

Port for the web control panel. Open http://your-server-ip:this-port in a browser (the WebUI button uses it too). It maps to the app's internal port 3000 - only change this host number if it is already in use.

Target
3000
Default
8970
Value
8970
App dataPathrw

Where the manager keeps everything: its database, your settings, and every game server's installed files and saves. Use a path on /mnt/cache (a real disk), not /mnt/user (the FUSE share), so the large game-file cache can reflink-clone between servers.

Target
/data
Default
/mnt/cache/appdata/ark-manager
Value
/mnt/cache/appdata/ark-manager
Docker socketPathrw

Lets the manager create, start, stop and monitor the game-server containers - it controls Docker through this socket. Leave as-is.

Target
/var/run/docker.sock
Default
/var/run/docker.sock
Value
/var/run/docker.sock
PUBLIC_BASE_URLVariable

The address you actually reach the manager at, e.g. http://10.10.10.10:8970. Used for links and for each game server's WebUI button on the Unraid Docker page.

SECRETS_KEYVariable

32-byte key (64 hex characters) that encrypts saved passwords in the database. IMPORTANT: keep this value stable - if it changes, previously saved admin and server passwords can no longer be decrypted. Generate: openssl rand -hex 32

JWT_SECRETVariable

Secret that signs your login session tokens. Keep it private. Changing it just logs everyone out - no data loss. Generate: openssl rand -hex 24

GAME_HOST_NETWORKVariable

Run game servers directly on the host network instead of a Docker bridge. true (recommended) gives more reliable ASA/EOS public server listing; false puts them on the ark-net bridge.

Default
true
Value
true
DOCKER_HOSTVariable

How the manager connects to Docker. unix:///var/run/docker.sock uses the socket mounted above. Only change this if you front Docker with a least-privilege socket-proxy, in which case use tcp://socket-proxy:2375.

Default
unix:///var/run/docker.sock
Value
unix:///var/run/docker.sock
HOST_DATA_DIRVariable

The host-side path of App data. The manager needs it to bind-mount data into the game-server containers it spawns, so it MUST match the App data path above.

Default
/mnt/cache/appdata/ark-manager
Value
/mnt/cache/appdata/ark-manager
PUIDVariable

User ID the manager owns its files as. Unraid's default is 99 (the nobody user). Leave as-is unless you specifically need another.

Default
99
Value
99
PGIDVariable

Group ID for file ownership. Unraid's default is 100 (the users group). Leave as-is.

Default
100
Value
100