This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MYSQL_ROOT_PASSWORD=your_root_password | |
| MYSQL_USER=your_wordpress_database_user | |
| MYSQL_PASSWORD=your_wordpress_database_password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Models; | |
| use Illuminate\Contracts\Auth\MustVerifyEmail; | |
| use Illuminate\Foundation\Auth\User as Authenticatable; | |
| use Illuminate\Notifications\Notifiable; | |
| use Backpack\CRUD\app\Models\Traits\CrudTrait; | |
| use Spatie\Permission\Traits\HasRoles; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Illuminate\Database\Migrations\Migration; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Support\Facades\Schema; | |
| class CreateAdminsTable extends Migration | |
| { | |
| /** | |
| * Run the migrations. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| APP_PORT=48080 | |
| FORWARD_DB_PORT=43306 | |
| FORWARD_REDIS_PORT=46379 | |
| FORWARD_MEILISEARCH_PORT=47700 | |
| FORWARD_MAILHOG_PORT=41025 | |
| FORWARD_MAILHOG_DASHBOARD_PORT=48025 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OCTANE_SERVER=swoole | |
| OCTANE_HTTPS=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| laravel.test: | |
| build: | |
| context: ./docker/8.0 | |
| dockerfile: Dockerfile | |
| args: | |
| WWWGROUP: '${WWWGROUP}' | |
| XDEBUG: '${APP_DEBUG:-false}' | |
| XDEBUG_PORT: '${SAIL_XDEBUG_PORT:-9000}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OCTANE_SERVER=swoole | |
| OCTANE_HTTPS=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #if TINY_GSM_TEST_TCP && defined TINY_GSM_MODEM_HAS_TCP | |
| if (!modem.isGprsConnected()) { | |
| DBG("... not connected"); | |
| } else { | |
| DBG("Connecting to ", server); | |
| // Make a HTTPS GET request: | |
| Serial.println("Making GET request securely..."); | |
| client.get(resource); | |
| int status_code = client.responseStatusCode(); | |
| String response = client.responseBody(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Illuminate\Support\Facades\Route; | |
| use App\Models\User; | |
| Route::get('/', function () { | |
| return view('welcome'); | |
| }); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ARG XDEBUG | |
| ARG XDEBUG_PORT | |
| RUN if [ "${XDEBUG}" = 'true' ] ; then \ | |
| apt-get update \ | |
| && apt-get install -y php-xdebug \ | |
| && echo "[XDebug]" > /etc/php/8.0/cli/php.ini \ | |
| && echo "zend_extension="$(find /usr/lib/php/20200930/ -name xdebug.so)" > /etc/php/8.0/cli/php.ini" \ | |
| && echo "xdebug.mode = debug" >> /etc/php/8.0/cli/php.ini \ | |
| && echo "xdebug.discover_client_host = true" >> /etc/php/8.0/cli/php.ini \ | |
| && echo "xdebug.client_host = host.docker.internal" >> /etc/php/8.0/cli/php.ini \ |