свой образ panel c mysql-client

This commit is contained in:
2026-01-22 03:38:19 +00:00
parent aa3a0ca6f0
commit 93015ae096

View File

@@ -32,19 +32,11 @@ services:
retries: 3
panel:
image: "ghcr.io/pterodactyl/panel:latest"
build: .
container_name: pterodactyl_panel
restart: unless-stopped
stdin_open: true
tty: true
command: >
sh -c "
if ! command -v mysql >/dev/null 2>&1; then
echo 'Installing mysql-client...'
apk update && apk add --no-cache mariadb-client
fi &&
php-fpm
"
ports:
- "8080:80"
volumes: