I installed laravel v8 by following the original documentation first I install wsl2 then docker then ubuntu v20.04 distribution and switch the distro to wsl2 and then create laravel project according to the documentation. Now when I try to run laravel created project in the docker container by using sail then it gives an error. ..
I created a SaaS app using laravel 8 with first party package laravel sail (doker) and tenancy for laravel package for the SaaS. I need to install wildcard lets encrypt ssl on the main app and all tenant apps will be on https. I tried to install certbot image like this certbot: image: certbot/certbot:latest the ..
I am not sure if I can use laravel sail in production. First question is, can I use laravel sail in production? And if I can, how can I use laravel sail in production? I am trying to deploy a website using laravel sail. But when I try to execute sail up command, it says ..
I have a laravel 8 project created with composer. Then I added laravel sail by composer require laravel/sail and then executed command php artisan sail:install. After sail up command, only mysql container was created and everything works well. But now I want to add redis to my docker container. How can I do this? I ..
I’m working in Laravel 8 with Sail When I create the APP_PORT variable on .env… APP_NAME=Laravel APP_ENV=local APP_KEY= APP_DEBUG=true APP_URL=http://localhost APP_PORT=3000 …and launch the web with sail up I get this error: services.laravel.test.ports contains an invalid type, it should be a number, or an object This is how the docker-compose.yml looks version: ‘3’ services: laravel.test: ..
I’ve rebooted my system and then run all my containers using the vendor/bin/sail up command, the only one that failed to reload was MySQL. The error is the following : ERROR: for mysql a bytes-like object is required, not ‘str’ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/docker/api/client.py", line 261, in _raise_for_status response.raise_for_status() File "/usr/lib/python3/dist-packages/requests/models.py", line ..
I am trying to run an existing laravel project on my localhost. I cloned the project and I installed wsl2 and docker desktop on my windows 10 system. when I execute sail up command, all containers build well and I dont have any errors but in my brrowser I have this error: RedisException Connection refused ..
I am trying to create a test database just can not seem to work out how to get docker-compose.yml to read the .env.testing file for the database credentials? Is just always takes the standard .env variables. Any ideas? Thanks. Source: Docker..
I have setup a Laravel Sail environment and I am trying to save a webpage as a pdf using puppeteer. I am currently using this package to run puppeteer via laravel – https://packagist.org/packages/spatie/browsershot There requirements section specifies you need to download puppeteer via npm. Laravel Sail has npm setup so I have installed the puppeteer ..
In my Laravel Sail project I get this error messsage when I try to run this: docker-compose build –no-cache laravel.test The result: Building laravel.test Traceback (most recent call last): File "composeclimain.py", line 67, in main File "composeclimain.py", line 126, in perform_command File "composeclimain.py", line 302, in build File "composeproject.py", line 468, in build File "composeproject.py", ..