Creating a new Panel
Last updated
Last updated
Time Required
30 Minutes
Difficulty
Moderate
Create your Portainer stack using the below compose and .env file
I would recommend deploying GitOps (have a look at the this guide) as this will shift your compose file off of your server and into GitHub.
Check the Portainer logs for the panel container, you should see something similar to below
Browse to http://yourserver:port and confirm you see the below
Open up Portainer and navigate to the Panel container
Click on Console and change the command to '/bin/sh'
Hit Connect
Input the below command and next through the prompts (set account as administrator)
Log into Pterodactyl with your newly created administrator account
Click on the Settings cog in the top right hand corner
Click on Settings
Set 'Require 2FA authentication' to 'All Users' and hit Save
Click on 'Enable 2FA' and follow the steps
Save your backup codes somewhere
Click on Locations, then 'create new'
Create 2 locations,
a location for 'On Prem' nodes
a location for 'Off Prem' nodes
Refer to the Cloudflare Proxy and Authentication guides
Your subdomain and domain needs to match the PTERO_PANEL_URL variable set above
Type is HTTP, pointing at yourserver:port
navigate to your proxy url and confirm you see the login page