свой образ panel c mysql-client
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user