Pterodactyl, a free an open source agnostic game panel... In a Container!
647
This is an automated build of ccarney16/pterodactyl-panel that updates faster. As soon as a new release of the Pterodactyl Panel is available, this image is updated. Everything else remains the same as ccarney16/pterodactyl-panel.
It builds from the ccarney16 repository: https://github.com/ccarney16/pterodactyl-containers
Pterodactyl, a free an open source agnostic game panel... In a Container!
Installing:
Create a file and paste the yaml in it (CTRL+O ENTER and CTRL+X) to save and exit:
nano docker-compose.yaml
services:
control_watchtower:
container_name: control_watchtower
image: nickfedor/watchtower:latest
environment:
- TZ=${TZ}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --cleanup --schedule "0 30 4 * * *" control_panel control_worker control_cron control_redis control_wings
restart: unless-stopped
control_panel:
container_name: control_panel
image: menace100/pterodactyl-panel:latest
environment:
- TZ=${TZ}
- APP_NAME=${APP_NAME}
- APP_ENV=${APP_ENV}
- APP_DEBUG=${APP_DEBUG}
- APP_ENVIRONMENT_ONLY=${APP_ENVIRONMENT_ONLY}
- APP_TIMEZONE=${TZ}
- APP_URL=${APP_URL}
- DB_HOST=${DB_HOST}
- DB_PORT=${DB_PORT}
- DB_DATABASE=${DB_DATABASE}
- DB_USERNAME=${DB_USERNAME}
- DB_PASSWORD=${DB_PASSWORD}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- REDIS_HOST=${REDIS_HOST}
- REDIS_PORT=${REDIS_PORT}
- RECAPTCHA_ENABLED=${RECAPTCHA_ENABLED}
- MAIL_DRIVER=${MAIL_DRIVER}
- MAIL_ENCRYPTION=${MAIL_ENCRYPTION}
- MAIL_HOST=${MAIL_HOST}
- MAIL_PORT=${MAIL_PORT}
- MAIL_USERNAME=${MAIL_USERNAME}
- MAIL_PASSWORD=${MAIL_PASSWORD}
- MAIL_FROM=${MAIL_FROM}
- MAIL_FROM_NAME=${MAIL_FROM_NAME}
depends_on:
- control_db
- control_redis
- control_worker
- control_cron
restart: unless-stopped
volumes:
- ./panel:/data
ports:
- "80:80"
control_worker:
container_name: control_worker
image: menace100/pterodactyl-panel:latest
environment:
- TZ=${TZ}
- REDIS_HOST=${REDIS_HOST}
- REDIS_PORT=${REDIS_PORT}
command: p:worker
restart: unless-stopped
volumes:
- ./panel:/data
control_cron:
container_name: control_cron
image: menace100/pterodactyl-panel:latest
environment:
- TZ=${TZ}
- REDIS_HOST=${REDIS_HOST}
- REDIS_PORT=${REDIS_PORT}
command: p:cron
restart: unless-stopped
volumes:
- ./panel:/data
control_redis:
container_name: control_redis
image: redis:alpine
restart: unless-stopped
control_db:
container_name: control_db
image: mariadb:11.4
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_DATABASE=${DB_DATABASE}
- MYSQL_USER=${DB_USERNAME}
- MYSQL_PASSWORD=${DB_PASSWORD}
volumes:
- ./db:/var/lib/mysql
control_wings:
container_name: control_wings
image: ccarney16/pterodactyl-daemon:latest
environment:
- TZ=${TZ}
privileged: true
restart: unless-stopped
ports:
- "2022:2022"
- "8080:8080"
volumes:
- /etc/pterodactyl:/etc/pterodactyl
- /var/lib/pterodactyl:/var/lib/pterodactyl
- /var/log/pterodactyl:/var/log/pterodactyl
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/pterodactyl:/tmp/pterodactyl
- /run/wings:/run/wings
working_dir: /var/lib/pterodactyl
Create a file and paste the .env
nano .env
Example of .env (PLEASE CHANGE THE PASSWORDS!!!!!!!!)
TZ=Australia/Melbourne
APP_URL=http://localhost
APP_NAME=AWESOME JOB
APP_ENV=production
APP_DEBUG=false
APP_ENVIRONMENT_ONLY=true
RECAPTCHA_ENABLED=true
DB_HOST=control_db
DB_PORT=3306
DB_DATABASE=pterodactyl
DB_USERNAME=pterodactyl
DB_PASSWORD=supersecurepass
MYSQL_ROOT_PASSWORD=rootsecurepass
REDIS_HOST=control_redis
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_ENCRYPTION=tls
MAIL_HOST=smtp.example.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=supersecurepass
MAIL_FROM="[email protected]"
MAIL_FROM_NAME="Control Panel"
Start the docker environment:
docker compose up -d
Wait 10 seconds...
Creating a user:
docker exec -it control_panel php artisan p:user:make
Navigate to http:// {SERVER IP}
Contributing All issues regarding Pterodactyl Panel/Node are to be reported to https://github.com/Pterodactyl/Panel/issues.
Useful Links Pterodactyl Project:
https://github.com/Pterodactyl/
Docker:
Content type
Image
Digest
sha256:fb6020b53…
Size
203.9 MB
Last updated
about 1 month ago
docker pull menace100/pterodactyl-panel