Questions tagged [laravel-sail]
319 questions
1
vote
0 answers
How can I connect ray to laravel sail docker container using the forge user?
I am trying to connect my ray application to my project that is running on a docker container. I am using a Macbook Pro. I've followed the instructions given at https://spatie.be/docs/ray/v1/environment-specific-configuration/docker.
I've also…

blake
- 83
- 7
1
vote
2 answers
Laravel Sail: FATAL: password authentication failed for user "sail"
I created a laravel sail project with PostgreSQL then I tried to connect with the server on 3rd party software (TablePlus & Navicat) I got this error message
FATAL: password authentication failed for user "sail"
This is my docker-compose.yml
…

Heaven Aldrico
- 57
- 1
- 8
1
vote
2 answers
Laravel Sail share 1 database between 2 projects
My site has a separate admin project. Both connect to the same database.
How do I get this working locally so when I run sail up in the admin project it does not try to create a new container for the database. I want to connect to the same database…

BobB
- 750
- 1
- 9
- 22
1
vote
2 answers
Laravel sail multiple databases
I'm using laravel sail and trying to create another database for my Laravel project which required to use multiple databases connections, I've tried to create from user root with empty password and sail with password password but go access…

Atef Ramadan
- 25
- 2
1
vote
1 answer
How to change mysql version from 8.0 to 5.6 in docker-compose.yml of laravel 8 project?
I installed laravel 8 via sail. By default docker-compose.yml use mysql:8. But I need to change mysql version to 5.6 or 5.7.
When I run sail up -d and than run docker-compose ps I see that mysql container not running:
myproject_mysql_1 …

Sasha Phantomas
- 21
- 4
1
vote
1 answer
Add to PATH from Laravel Sail Dockerfile
I'm trying to add sqlpackage to a Laravel Sail Docker. While this is normally not really difficult, Sail makes it kinda hard.
I have the following section in my Dockerfile
RUN curl -L https://go.microsoft.com/fwlink/?linkid=2157202 -o…

Matt
- 1,081
- 15
- 27
1
vote
2 answers
Laravel Sail on Existing Project - Unknown Database SQLSTATE[HY000] [1049]
I'm trying to spool up an existing project locally using Laravel Sail. I'm continually getting the 1049 unknown database error. I've tried the following:
sail php artisan config:clear
sail php artisan config:cache
I've also tried replacing mysql as…

hyphen
- 2,368
- 5
- 28
- 59
1
vote
2 answers
Laravel Sail and SQL Driver
I want to add SQL Driver to Docker file, I copied the file from vendor/laravel/runtimes/8.0/Dockerfile to root project and modified for add the dependencies for SQL Server Driver.
This is my Dockerfile in my root project:
FROM ubuntu:20.04
LABEL…

Peter
- 86
- 1
- 6
1
vote
1 answer
How to Enable SSL on Laravel Sail
I am using Laravel Sail and I am trying to share my site for testing. It works fine. The website can be accessed using the url generated from sail share. What I want to happen is to use SSL while sharing the test website.
I have tried searching…

Patrick
- 341
- 1
- 7
- 19
1
vote
1 answer
Browsershots/Puppeteer does not work properly on Laravel-Sail
using Laravel-Sail, which is basically a convenient way to generate a docker-compose.yml to have a Webserver, MariaDB etc. locally, is causing trouble when it comes to the use of Browsershots, a Laravel-Package that provides Puppeteer.
Before I…

SPQRInc
- 162
- 4
- 23
- 64
1
vote
1 answer
Just installed Laravel Sail. How to connect to database?
I am trying to connect and create schema using TablePlus (or PhpStorm) in my database since May of 6. Please understand me what I should to do?
I will discribe what did I do step by step.
$ laravel new app. I have got /app/ folder with my new…

stas12go
- 33
- 1
- 6
1
vote
2 answers
Can't workout why TablePlus refuses to connect to db with Sail 0n 3307
I am running using Sail for my side project, and use Homestead for work.
I get conflicts with port 3306, so I moved Sail to 3307, but now for some reason I can't get TablePlus to connect to the DB.
Just to be clear, the site loads in the browser and…

n8udd
- 657
- 1
- 9
- 30
1
vote
2 answers
Laravel Sail - After installing laravel sail for an existing project on Windows10 WSL2 I keep getting a docker-composer error
This happened to me a couple of times now on windows wsl2.
I have an existing project using laravel sail that works on my mac but when I try to make it work on windows running the installation for an existing project…

Dave Beauchesne
- 111
- 1
- 8
1
vote
1 answer
Laravel 8 Sail Redis not assuming the default cache driver
Laravel 8 and the dev environment is Sail - including Redis.
The .env file:
CACHE_DRIVER=redis
..
REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
Using the Redis facade functions, like
Redis::set( 'bar', 'The hole of the moon' );
using…

bito_
- 169
- 2
- 10
1
vote
0 answers
Laravel install on Fedora 33
I am trying to create a new Laravel project on my Fedora 33 system as per:
https://laravel.com/docs/8.x/installation#getting-started-on-linux
I run the command and get the following output:
[glen@localhost gclark18]$ sudo curl -s…

gclark18
- 659
- 6
- 23