свой образ panel c mysql-client
This commit is contained in:
@@ -32,19 +32,11 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
panel:
|
panel:
|
||||||
image: "ghcr.io/pterodactyl/panel:latest"
|
build: .
|
||||||
container_name: pterodactyl_panel
|
container_name: pterodactyl_panel
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: 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:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user