Questions tagged [laradock]

Laradock is a development environment for PHP applications on Docker

Laradock is a full PHP development environment for Docker.

It supports a variety of common services, all pre-configured to provide a ready PHP development environment, such as database engines, cache engines, and application containers.

Resources:

280 questions
5
votes
1 answer

Php-worker keeps growing in memory when running supervisor queue's

When running supervisor queue's the memory of the php-worker container keeps rising. (As seen in docker stats) This number does not go down when the jobs are done. When the queue keeps processing jobs for a while the memory reaches 100% and…
5
votes
0 answers

Using browsersync with docker (laradock)

I'm running into a problem with running browsersync via Gulp inside a docker container. I'm using Laradock. I tried to extrapolate from this answer: Browsersync within a Docker container, but I'm only able to get the UI to show on port 3001. It's…
good_afternoon
  • 1,529
  • 1
  • 12
  • 41
5
votes
2 answers

GuzzleHttp \ Exception \ ConnectException cURL error 7: Failed to connect to localhost port 8088: Connection refused

I'm using laradock and I can access the page in browser http://localhost:8088/api/getakicks/get without any problems. But when I try to access it in controller I'm getting this error: GuzzleHttp \ Exception \ ConnectException cURL error 7: Failed…
whitesiroi
  • 2,725
  • 4
  • 30
  • 64
5
votes
3 answers

How to use Deployer with Docker (Laradock)

I created a fresh Digital Ocean server with Docker on it (using Laradock) and got my Laravel website working well. Now I want to automate my deployments using Deployer. I think my only problem is that I can't get Deployer to run docker exec -it…
Ryan
  • 22,332
  • 31
  • 176
  • 357
5
votes
3 answers

How to connect Sequel Pro with Laradock

I can not connect my Laradock docker with Sequel Pro. In my .env file ### MYSQL MYSQL_VERSION=8.0 MYSQL_DATABASE=default,…
Jeremy
  • 1,756
  • 3
  • 21
  • 45
5
votes
2 answers

Yarn not in path on Laradock worskpace when using it in inline docker exec command

I have a problem using Laradock and yarn with an inline docker exec command from "outside" the workspace container. When I use it from inside the workspace container, everything is working as expected : docker exec -it --user=laradock…
Okipa
  • 551
  • 4
  • 18
4
votes
2 answers

Can't start service with Docker Version 4.11.0 (83626)

Could anyone help me, I have a problem with Docker's new version that I just updated, and here is the error message after I run command to start the service, Note: I use laradock with the Docker WARN[0000] The "lXaL3lj6raFic6rFqr2" variable is not…
devit chea
  • 53
  • 1
  • 6
4
votes
4 answers

Laradock - SQLSTATE[HY000] [2002] Connection refused (SQL: select count(*) as aggregate from `users` where `email` =

When I try to migrate after set up laradock I get this error: I set up laradock following the main doc, everything works as it should but no when I create a new user from the browser. Illuminate\Database\QueryException : SQLSTATE[HY000] [2002]…
desancheztorres
  • 353
  • 1
  • 6
  • 13
4
votes
1 answer

Guzzle and docker

I am using laravel as my framework with passport and guzzle installed. I am trying to get a password grant token from the server for my iPhone app that I am developing. This is how I am calling the api for the grant token $http = new…
John Dek
  • 123
  • 7
4
votes
2 answers

Laradock doesn't work with mysql

I cannot understand how to get Laradock to work correctly with the mysql db. I have followed laradock docs and installed everything, spin up containers using docker-compose up -d nginx mysql I have the multiple project version layout like…
yoyoma
  • 3,336
  • 6
  • 27
  • 42
4
votes
3 answers

Laravel: Can't pass a Browser test using RefreshDatabase trait

My test will fail if I use RefreshDatabase trait. Without the trait -- test will pass but data remains in database. I'm using: Laravel 5.5 (a fresh one) Laradock: nginx mysql selenium Tests are being running from a laradock's workspace. This is…
Shone Tow
  • 497
  • 4
  • 14
4
votes
1 answer

Laradock - Localhost refused to connect on Windows 10 using Nginx

I have setup a laradock app on my local machine. I have followed the instructions as provided: http://laradock.io/ In addition to that as I am on Windows 10, and using Docker toolbox, I have shared my folder with the laradock's workspace. That's…
SanketR
  • 1,182
  • 14
  • 35
4
votes
3 answers

Running Elastic Search with Laradock

I'm trying to get ElasticSearch running with Laradock. ES looks to be supported out of the box with Laradock. Here's my docker command (run from /laradock/: docker-compose up -d nginx postgres redis beanstalkd elasticsearch However if…
Harry
  • 2,429
  • 4
  • 21
  • 26
3
votes
1 answer

How do I use SSH on Laradock?

I'd like to set up SSH with my Laradock workspace container so I can deploy to git. Inside the workspace folder, there are keypairs insecure_id_rsa and insecure_id_rsa.pub. Obviously I don't want to use what comes in the repository, but there are no…
good_afternoon
  • 1,529
  • 1
  • 12
  • 41
3
votes
0 answers

Laradock localstack can't access s3 local file (error 403)

I can't access a file created in a docker container with localstack (that mimics aws S3) I see that it exists if I access localstack:5000, but if I actually go to it I get…
Scobee
  • 448
  • 7
  • 22
1
2
3
18 19