No description
  • Shell 53.8%
  • Dockerfile 46.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-10-16 14:14:04 -07:00
.github/workflows ci: separate panel and wings workflows 2022-10-04 19:25:30 -06:00
build ci: separate panel and wings workflows 2022-10-04 19:25:30 -06:00
code Initial attempt at using vagrant, not ready for use 2018-07-02 23:25:35 -07:00
docker Set local issuer certificate; symlink the mods, not the entire data directory... 2022-05-29 16:08:41 -04:00
traefik First pass at basic environment using only compose 2022-02-06 18:56:30 -05:00
.dockerignore improve docker images and less root 2021-01-16 18:05:33 +01:00
.gitignore More documentation and fixing up things 2022-02-12 12:54:38 -05:00
beak Beak cleanup; remove the need for mutagen 2022-06-18 11:26:07 -04:00
docker-compose.yml Include loopback devices to support virtual disks 2022-10-16 14:14:04 -07:00
LICENSE Initial commit 2018-07-02 21:27:40 -07:00
README.md More documentation and fixing up things 2022-02-12 12:54:38 -05:00
setup.sh Improve binding support for docker-in-docker 2022-02-12 13:45:00 -05:00

Pterodactyl Development Environment

This repository provides a docker-compose based environment for handling local development of Pterodactyl.

This is not meant for production use! This is a local development environment only.

This environment is the official Pterodactyl development environment, in the sense that it is what I, @DaneEveritt use for working on it. I've not tested it on anything other than macOS, and I probably haven't documented most of the important bits. Please feel free to open PRs or Issues as necessary to improve this environment.

Getting Started

You'll need the following things installed on your machine.

Setup

To begin clone this repository to your system, and then run ./setup.sh which will configure the additional git repositories, and setup your local certificates and host file routing.

git clone https://github.com/pterodactyl/development.git
cd development
./setup.sh

What is Created

  • Traefik Container
  • Panel & Wings Containers
  • MySQL & Redis Containers
  • Minio Container for S3 emulation

Accessing the Environment

Once you've setup the environment, simply run ./beak up -d to start the environment. This simply aliases some common Docker compose commands.

Once the environment is running, ./beak app and ./beak wings will allow SSH access to the Panel and Wings environments respectively. Your Panel is accessible at https://pterodactyl.test. You'll need to run through the normal setup process for the Panel if you do not have a database and environment setup already. This can be done by SSH'ing into the Panel environment and running setup-pterodactyl.

The code for the setup can be found in build/panel/setup-pterodactyl. Please note, this environment uses Mutagen for file handling, so replace calls to docker compse up or down with mutagen-compose up or down. All other docker compose commands can be used as normal.