Update MinecraftServer.php

This commit is contained in:
Bozhidar 2024-05-13 12:10:57 +03:00
parent d8e4329442
commit 094812064b

View file

@ -55,8 +55,6 @@ class MinecraftServer extends Model
file_put_contents($minecraftServerPath.'/docker-compose.yml', $minecraftServerDocker); file_put_contents($minecraftServerPath.'/docker-compose.yml', $minecraftServerDocker);
$docker = shell_exec('cd '.$minecraftServerPath.' && docker-compose up -d'); $docker = shell_exec('cd '.$minecraftServerPath.' && docker-compose up -d');
dd($docker);
}); });
static::created(function ($model) { static::created(function ($model) {