feat: add pyrodactyl template

This commit is contained in:
naterfute
2025-04-09 22:50:22 -07:00
parent f3893c6058
commit e054da51ea
4 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
services:
database:
image: mariadb:10.5
restart: always
command: --default-authentication-plugin=mysql_native_password
volumes:
- "pterodb:/var/lib/mysql"
environment:
MYSQL_DATABASE: "panel"
MYSQL_USER: "pterodactyl"
MYSQL_PASSWORD:
MYSQL_ROOT_PASSWORD:
cache:
image: redis:alpine
restart: always
panel:
image: ghcr.io/pyrohost/pyrodactyl:main
restart: always
links:
- database
- cache
volumes:
- "pterovar:/app/var/"
- "pteronginx:/etc/nginx/http.d/"
- "pterocerts:/etc/letsencrypt/"
- "pterologs:/app/storage/logs"
environment:
APP_ENV: "production"
APP_ENVIRONMENT_ONLY: "false"
CACHE_DRIVER:
SESSION_DRIVER:
QUEUE_DRIVER:
REDIS_HOST:
DB_HOST:
DB_PORT:
MYSQL_PASSWORD:
MYSQL_ROOT_PASSWORD:
RECAPTCHA_ENABLED:
networks:
default:
ipam:
config:
- subnet: 172.20.0.0/16
volumes:
pterodb:
pterovar:
pteronginx:
pterocerts:
pterologs:

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,35 @@
[variables]
main_domain = "${domain}"
db_password = "${password:32}"
db_root_password = "${password:32}"
secret_key = "${base64:48}"
[config]
env = [
"Domain=${main_domain}",
"RECAPTCHA_ENABLED=true",
"APP_URL={$main_domain}",
"APP_TIMEZONE=UTC",
"APP_SERVICE_AUTHOR=noreply@example.com",
"MAIL_FROM=noreply@example.com",
"MAIL_DRIVER=smtp",
"MAIL_HOST=mail",
"MAIL_PORT=1025",
"MAIL_USERNAME=",
"MAIL_PASSWORD=",
"MAIL_ENCRYPTION=true",
"MYSQL_PASSWORD=${db_password}",
"MYSQL_ROOT_PASSWORD=${db_root_password}",
"DB_PORT=3306",
"CACHE_DRIVER=redis",
"SESSION_DRIVER=redis",
"QUEUE_DRIVER=redis",
"REDIS_HOST=cache",
"DB_HOST=database",
]
mounts = []
[[config.domains]]
serviceName = "panel"
port = 80
host = "${main_domain}"

View File

@@ -807,6 +807,23 @@
"management"
]
},
{
"id": "pyrodactyl",
"name": "Pyrodactyl",
"version": "main",
"description": "Pyrodactyl is the Pterodactyl-based game server panel that's faster, smaller, safer, and more accessible than Pelican. ",
"logo": "pyrodactyl.png",
"links": {
"github": "https://github.com/pyrohost/pyrodactyl",
"website": "https://pyrodactyl.dev",
"docs": "https://pyrodactyl.dev/docs"
},
"tags": [
"self-hosted",
"open-source",
"management"
]
},
{
"id": "influxdb",
"name": "InfluxDB",