Pterodactyl
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 Volume | Container Volume | Purpose |
---|---|---|
Randomly Generated | /data | Stores the cached files... I assume? |
MariaDB
Host Volume | Container Volume | Purpose |
---|---|---|
/srv/pterodactyl/database | /var/lib/mysql | Database location |
Panel
Port | Purpose |
---|---|
809 | WebUI HTTP |
4439 | WebUI HTTPS (not used) |
Host Volume | Container Volume | Purpose |
---|---|---|
pteropanel_var | /app/var | Contains configuration .env file |
pteropanel_nginx | /etc/ngix/http.d | |
pteropanel_certs | /etc/letsencrypt | |
pteropanel_logs | /apps/storage/logs |
Integration | Purpose |
---|---|
Mocha | Connect to the Wings container to manage servers |
Wings
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
Port | Purpose |
---|---|
443 | Panel Connection Port (Cloudflare Tunnel) |
2022 | SFTP |
8080 | Daemon port (unused) |
Host Volume | Container Volume | Purpose |
---|---|---|
/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/ |
Integration | Purpose |
---|---|
Panel | Panel manages wings instance |
MariaDB
Port | Purpose |
---|---|
3306 | Port to access Database |
Host Volume | Container Volume | Purpose |
---|---|---|
db | /var/lib/mysql | Database location |
Integration | Purpose |
---|---|
Panel | Panel manages database |
Last updated