Edit mkdir, Bump version

This commit is contained in:
LinuxSquare 2024-11-15 21:51:51 +01:00
parent 0b9f914bd9
commit 3695ae7e59
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Maintainer: LinuxSquare <linuxsquare@noveria.org> # Maintainer: LinuxSquare <linuxsquare@noveria.org>
pkgname=pterodactyl-panel-compose pkgname=pterodactyl-panel-compose
pkgver=1.11.9 pkgver=1.11.10
pkgrel=0 pkgrel=0
pkgdesc="The Pterodactyl Panel" pkgdesc="The Pterodactyl Panel"
arch="x86_64" arch="x86_64"

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
start() { start() {
printf '%s' database,var,nginx,certs,logs | xargs -d, mkdir 2> /dev/null || true mkdir database var nginx certs logs || true
podman run --rm -d --name "pterodactyl-db" -p 3306:3306 -v ./database:/var/lib/mysql -e MYSQL_DATABASE="panel" -e MYSQL_USER="pterodactyl" -e MYSQL_PASSWORD="%MYSQL_PASSWORD%" -e MYSQL_ROOT_PASSWORD="%MYSQL_ROOT_PASSWORD%" --userns=keep-id:uid=999,gid=999 docker.io/mariadb:10.5 --default-authentication-plugin=mysql_native_password podman run --rm -d --name "pterodactyl-db" -p 3306:3306 -v ./database:/var/lib/mysql -e MYSQL_DATABASE="panel" -e MYSQL_USER="pterodactyl" -e MYSQL_PASSWORD="%MYSQL_PASSWORD%" -e MYSQL_ROOT_PASSWORD="%MYSQL_ROOT_PASSWORD%" --userns=keep-id:uid=999,gid=999 docker.io/mariadb:10.5 --default-authentication-plugin=mysql_native_password
podman run --rm -d --name "pterodactyl-cache" -p 6379:6379 docker.io/redis:alpine podman run --rm -d --name "pterodactyl-cache" -p 6379:6379 docker.io/redis:alpine
podman run --rm -d --name "pterodactyl-panel" -p 80:80 -p 443:443 -v ./var:/app/var -v ./nginx:/etc/nginx/http.d -v ./certs:/etc/letsencrypt -v ./logs:/app/storage/logs -e DB_PASSWORD="%MYSQL_PASSWORD%" -e APP_ENV="production" -e APP_ENVIRONMENT_ONLY="false" -e CACHE_DRIVER="redis" -e SESSION_DRIVER="redis" -e QUEUE_DRIVER="redis" -e REDIS_HOST="$1" -e DB_HOST="$1" -e DB_PORT="3306" -e TRUSTED_PROXIES="*" -e APP_TIMEZONE="%APP_TIMEZONE%" -e APP_SERVICE_AUTHOR="mail@example.com" ghcr.io/pterodactyl/panel:v%VERSION% podman run --rm -d --name "pterodactyl-panel" -p 80:80 -p 443:443 -v ./var:/app/var -v ./nginx:/etc/nginx/http.d -v ./certs:/etc/letsencrypt -v ./logs:/app/storage/logs -e DB_PASSWORD="%MYSQL_PASSWORD%" -e APP_ENV="production" -e APP_ENVIRONMENT_ONLY="false" -e CACHE_DRIVER="redis" -e SESSION_DRIVER="redis" -e QUEUE_DRIVER="redis" -e REDIS_HOST="$1" -e DB_HOST="$1" -e DB_PORT="3306" -e TRUSTED_PROXIES="*" -e APP_TIMEZONE="%APP_TIMEZONE%" -e APP_SERVICE_AUTHOR="mail@example.com" ghcr.io/pterodactyl/panel:v%VERSION%