Skip to content

Instantly share code, notes, and snippets.

@theoparis
Last active January 27, 2021 02:14
Show Gist options
  • Save theoparis/9680665877fa868eccf70541dc477aca to your computer and use it in GitHub Desktop.
Save theoparis/9680665877fa868eccf70541dc477aca to your computer and use it in GitHub Desktop.
centos install pterodactyl w/ docker

Instructions:

Run this to install the panel:

curl https://gist.github.com/creepinson/9680665877fa868eccf70541dc477aca/raw/1bbf9da05d34210676848168f5824d68505f9290/install.sh | sh
# Install Docker
curl https://gist.githubusercontent.com/creepinson/2363097a783246de0635c737c1545de7/raw/a444ff3b9f584dfaf30898851413c8cf75f4c68e/docker.sh | sh
# Install git and nano
sudo yum install nano git
# Clone Docker-Compose Pterodactyl Setup
git clone https://github.com/creepinson/pterodactyl-docker ptero
cd ptero
# Clone Pterodactyl Panel Website
git clone https://github.com/pterodactyl/panel
cp .env.example panel/.env
# Start the panel
docker-compose run --rm composer install --no-dev
docker-compose run --rm php php artisan key:generate --force
docker-compose run --rm php php artisan p:environment:setup
docker-compose run --rm php php artisan migrate
docker-compose run --rm php php artisan db:seed
docker-compose run --rm php php artisan p:user:make
chmod -R 777 panel
echo "The panel was installed. Starting it now..."
docker-compose up -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment