Page cover image

Pterodactyl

Link to App

Pterodactylยฎ is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.

You can follow my guide on the public documentation site to replicate my set up :)

Flowchart

Software Level

This flowchart shows how the apps integrate

Hardware Level

This flowchart shows what lives where

Panel

The Panel is hosted on Cocoa, as a docker container

The Panel stack is made up of 3 containers,

  • Redis

  • MariaDB

  • Panel Application

Redis

Host VolumeContainer VolumePurpose

Randomly Generated

/data

Stores the cached files... I assume?

MariaDB

Host VolumeContainer VolumePurpose

/srv/pterodactyl/database

/var/lib/mysql

Database location

Panel

PortPurpose

809

WebUI HTTP

4439

WebUI HTTPS (not used)

Host VolumeContainer VolumePurpose

pteropanel_var

/app/var

Contains configuration .env file

pteropanel_nginx

/etc/ngix/http.d

pteropanel_certs

/etc/letsencrypt

pteropanel_logs

/apps/storage/logs

IntegrationPurpose

Mocha

Connect to the Wings container to manage servers

Wings

Link to GitHub or Website

Wings is Pterodactyl's server control plane, built for the rapidly changing gaming industry and designed to be highly performant and secure. Wings provides an HTTP API allowing you to interface directly with running server instances, fetch server logs, generate backups, and control all aspects of the server lifecycle.

This app is hosted on Mocha and Cola as a docker container

This stack is made up of 2 containers,

  • Wings

  • MariaDB

Wings

PortPurpose

443

Panel Connection Port (Cloudflare Tunnel)

2022

SFTP

8080

Daemon port (unused)

Host VolumeContainer VolumePurpose

/var/run/docker.sock

/var/run/docker.sock

Manage Docker containers ( servers)

/var/lib/docker/containers/

var/lib/docker/containers/

etc

/etc/pterodactyl/

Config file lives here

/var/lib/pterodactyl/

/var/lib/pterodactyl/

/var/log/pterodactyl/

/var/log/pterodactyl/

/tmp/pterodactyl/

/tmp/pterodactyl/

/srv/daemon-data/

/srv/daemon-data/

IntegrationPurpose

Panel

Panel manages wings instance

MariaDB

PortPurpose

3306

Port to access Database

Host VolumeContainer VolumePurpose

db

/var/lib/mysql

Database location

IntegrationPurpose

Panel

Panel manages database

Last updated