mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
add more templates (#93)
* feat: add first stack-auth test * fix: stack auth template.toml * fix: stack auth compose and template * fix: fixed serviceName on the template.toml of stack auth * fix: database host Stack Auth * fix: template.toml for Stack Auth * fix: actually auto generate values for plane template * feat: add healthcheck to minio * Revert "feat: add healthcheck to minio" This reverts commit623a850976. * fix: add STACK_EMAIL_HOST for stability, user can add it later on Environment Variables. * fix: docker-compose of Stack Auth * fix: plane template MINIO root for image uploads * wtf? I merged upstream * feat: pterodactyl template * fix: removed xcommon from pterodactyl template * fix: add pterodactyl to meta.json * fix: volume names * feat: add pyrodactyl template * fix: renamed pyrodactyl image.png to pyrodactyl.png * fix: Pyrodactyl takes db_password env * fix(pyrodactyl): fix * fix(pterodactyl): environment variables * feat: update pocketbase * Revert "feat: update pocketbase" This reverts commit036627ea98. * fix: stackauth - change postgres version from "latest" to "17" to prevent future conflicts - added a health check to postgres db to ensure it's running before stack auth attempts to start * fix(stackauth): wait for service_healthy rather than service_started * fix(plane): removed double-up of variables * Update blueprints/pyrodactyl/template.toml Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> * Update blueprints/stack-auth/docker-compose.yml Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> * fix: pterodactyl not launching --------- Co-authored-by: scanash00 <scan@scanash.com> Co-authored-by: Scan <103391616+scanash00@users.noreply.github.com> Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
This commit is contained in:
53
blueprints/pyrodactyl/docker-compose.yml
Normal file
53
blueprints/pyrodactyl/docker-compose.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
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:
|
||||
DB_PASSWORD: ${MYSQL_PASSWORD}
|
||||
MYSQL_PASSWORD:
|
||||
MYSQL_ROOT_PASSWORD:
|
||||
RECAPTCHA_ENABLED:
|
||||
DB_CONNECTION: "mariadb"
|
||||
|
||||
networks:
|
||||
default:
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.20.0.0/16
|
||||
|
||||
volumes:
|
||||
pterodb:
|
||||
pterovar:
|
||||
pteronginx:
|
||||
pterocerts:
|
||||
pterologs:
|
||||
BIN
blueprints/pyrodactyl/pyrodactyl.png
Normal file
BIN
blueprints/pyrodactyl/pyrodactyl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
35
blueprints/pyrodactyl/template.toml
Normal file
35
blueprints/pyrodactyl/template.toml
Normal 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}"
|
||||
Reference in New Issue
Block a user