Questions tagged [laravel-sail]

319 questions
0
votes
0 answers

Laravel on windows with Docker and Linux subsystem issue

When running with Docker on Windows and using linux subsystem (WSL version 2) I can't get Docker to delete any container that I want to remove. Anyone else had this problem on windows and how to solve it? See screenshot to how Docker…
niko craft
  • 2,893
  • 5
  • 38
  • 67
0
votes
1 answer

Allow Lambda to access local Sail DB environment

I have a lambda function running in AWS and I want to take the output of that function and write it to a database. I'm not quite ready to deploy yet, where it would be writing to an RDS instance and presumably would be trivial to accomplish. Locally…
hyphen
  • 2,368
  • 5
  • 28
  • 59
0
votes
1 answer

Why won't Laravel Sail allow me to connect to the DB

Anyone familiar with using Laravel Sail? I can't find for the life of me figure out why I can't connect to myDb using the credentials provided when installing Sail. My DB credentials in the .env…
0
votes
1 answer

Laravel Sail User and Groups in exist project

I want to install laravel sail in an existing project using the command from the documentation docker run --rm \ -u "$(id -u):$(id -g)" \ -v $(pwd):/var/www/html \ -w /var/www/html \ composer install --ignore-platform-reqs but…
Archi
  • 27
  • 1
  • 6
0
votes
1 answer

How to solve Laravel with sail "start-container": executable file not found

Im trying to deploy my laravel app using docker with laravel sail. Then I created docker-compose.yml file and Dockerfile like below. docker-compose.yml # For more information: https://laravel.com/docs/sail version: '3' services: laravel.test: …
Amithash
  • 269
  • 2
  • 4
  • 22
0
votes
2 answers

How to set up .dockerignore with Laravel Sail?

After Laravel Sail install, I published the Laravel Sail docker files to my project following the official docs. The directory is at {project root}/docker/8.1. This directory is also the one specified as build context in the docker-compose.yml file.…
saxomoose
  • 1
  • 1
  • 3
0
votes
1 answer

Laravel sail: why could database connection take 5 seconds?

When using a local database (running in docker, through Laraval Sail), database queries in my Laravel/React application are always done in a fraction of a second. Yet when connecting to a postgresql db on digitalocean, the first query on a page…
Plumpie
  • 426
  • 1
  • 6
  • 22
0
votes
1 answer

Laravel 503 at index.php

I have an install of Laravel running in sail, a mate has the same project (Laravel 9) and it runs fine on his system but on mine I get a 503. The error is occurring at this point in the index.php file… $kernel = $app->make(Kernel::class); $response…
Shredder
  • 81
  • 6
0
votes
2 answers

Cant set up php enviroment in Docker

When I run docker run --rm -v $(pwd):/opt -w /opt laravelsail/php81-composer:latest composer install to install all the composer dependencies, these popped up ~/Crowdstage$ docker run --rm -v $(pwd):/opt -w /opt laravelsail/php81-composer:latest…
James Wong
  • 155
  • 2
  • 14
0
votes
1 answer

Migration Table Creation Error when using Laravel Sail. Information_schema.tables missing

My colleague has created a docker-composer.yml file and has shared that image with me. When I run the container and attach this image, I am unable to create migratation tables through the command; "./vendor/bin/sail artisan migrate". I am using…
0
votes
1 answer

How to find the password of mysql on desktop docker in laravel?

After Laravel installation by sail and docker on windows, I run the server by: ./vendaor/bin/sail up -d and this is the containers: I can't connect to MySQL by user: root and password and port 3306 docker exec -it app-mysql-1 mysql -u root -p I…
Mehdi Yaghoubi
  • 561
  • 3
  • 8
  • 24
0
votes
1 answer

How to run a cloned Laravel project with sail on Windows?

I cloned an existing Laravel project from git which was dockerized with Sail. As vendor is in the .gitignore, I need to rebuild it before I can use Sail to run my app. Acording to the Laravel doc…
Noeudpap
  • 1
  • 1
0
votes
1 answer

Laravel + sail + dusk => Error: Could not start a new session [...] Chrome failed to start

I just can't get Laravel dusk running. I've searched the internet and tried almost everything. I hope anyone knows the trick. To rule out any self introduced problems I stated with a brand new Laravel project: curl -s…
0
votes
0 answers

Why am I getting Stack Trace when I open Horizon?

I allocate enough memory for this. in php.ini memory_limit = 3G I don't understand why this happens. If anyone has come across this problem. When I run рorizon with these settings. 'defaults' => [ 'supervisor-1' => [ 'connection' =>…
Sh1za
  • 11
  • 2
0
votes
1 answer

Sail up 'laravel.test' docker container Exited with "127"

I tried to set up a docker container for this project but every time I run ./vendor/bin/sail up -d, the laravel.test container exits with "127". The rest of the containers work just fine. At first, I thought this might've been WSL having an issue…