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
3
votes
1 answer

How to set up https to nginx docker container (laradock)?

I'd like to ask for some directions on how to set https in nginx using docker container. I'm working with laradock which comes with certbot container, but even though I've tried a lot of solutions none of them worked to me. To make the task even…
Leonardo Lobato
  • 1,047
  • 2
  • 9
  • 22
3
votes
0 answers

Start Laravel Schedular on Laradock - Cron Jobs

I have a laravel project hosted locally on Docker CE Windows 10 Pro. I cannot find any documentation on how to start the schedular in the workspace container. Laradock docs only tell you where to add additional cron jobs but nothing over how to…
notANerdDev
  • 1,284
  • 11
  • 28
3
votes
1 answer

History in docker container

When I use a normal terminal in linux, I can use the up arroy key to navigate between previous command that I executed. I need do the same in a container in docker. Ex: Login to the container work space with this command: /usr/bin/winpty.exe…
Sergio Barbosa
  • 429
  • 1
  • 7
  • 13
3
votes
0 answers

Apache container freezes due to locked file on shared volume using Docker for Windows

I have encountered a problem where files get locked (file is in use by another process), but are still readable (as well as something goes wrong with the Apache 2 container). The environment is Windows For Docker, using an Apache2, PHP, and MySQL…
ktamlyn
  • 4,519
  • 2
  • 30
  • 41
2
votes
0 answers

Laravel Dusk x Laradock: Chrome failed to start: crashed

I'm trying to use Laravel Dusk in Laradock but without success. The error message presented is: 1) Tests\Browser\ExampleTest::testBasicExample Facebook\WebDriver\Exception\UnknownErrorException: unknown error: Chrome failed to start: crashed. …
Jader
  • 139
  • 2
  • 9
2
votes
0 answers

Curl 60 error when enabling SSL on Laradock multiproject setup

I set Laradock as multiproject and enabled SSL on the sites using nginx. The websites load successfully with HTTPS, but the PHP curl calls fail with: cURL error 60: SSL certificate problem: self signed certificate (see…
Poorya
  • 1,291
  • 6
  • 27
  • 57
2
votes
1 answer

Docker resolving service NGINX with docker NGINX

After installing Docker on server and LaraDock. i'm trying to use dockerized Laravel project, as i have installed nginx on server i have that on laradock too then when upping project i get this error: Recreating laradock_nginx_1 ... error ERROR:…
DolDurma
  • 15,753
  • 51
  • 198
  • 377
2
votes
1 answer

Laradock in remote containers with VS code and PHP IntelliSense working

How to setup "PHP IntelliSense" on Visual studio code with Laradock to use the PHP binary in the laradock_workspace_1 container? I have tried to start Remote-containers: attach to running container..., then problem is I can´t access my git repo…
2
votes
1 answer

Laradock - PHP Redis extension is installed and enabled

i'm trying to enable Horizon on Laradock but i always received this message "Please make sure the PHP Redis extension is installed and enabled" I've accessed to Workspace container to check whether the php-redis extension is installed or not. But…
Richathon
  • 91
  • 2
  • 8
2
votes
1 answer

Connection Refused : Failed to connect to 127.0.0.1 port 4444: Connection refused laravel dusk with selenium and laradock

I am using laradock https://github.com/laradock/laradock for development environment setup. Everything looks good untill I have tried to run dusk test in the environment. This is the output of command php artisan…
Sagar Gautam
  • 9,049
  • 6
  • 53
  • 84
2
votes
2 answers

Laradock 404 Not Found Files with Symlink to Storage

I Created a Laravel app and I am using a windows PC in combination with Docker and Laradock. Docker runs on WSL2 but mounted to my windows drives (I know, it is very slow and I should switch to working in the Linux Filesystem). I want to use…
2
votes
1 answer

PHP-FPM + Nginx docker-compose stack without duplicate volumes

I have the following docker-compose in my Vagrant + Ansible local development stack (master for Ansible execution, node-1 for VPS simulation): version: "3.8" networks: frontend: driver: bridge backend: driver: bridge volumes: nginx: …
Lanti
  • 2,299
  • 2
  • 36
  • 69
2
votes
1 answer

How to configure Xdebug with Laradock and PhpStorm

I'm trying to configure Xdebug with PhpStorm and Laradock. I started with this: https://laradock.io/documentation/#install-xdebug I can see that Xdebug is working: php-fpm/xdebug status with Xdebug v2.9.6, Copyright (c) 2002-2020, by Derick…
Mick
  • 1,401
  • 4
  • 23
  • 40
2
votes
0 answers

How can I fix the laravel dusk curl error?

Dusk Version:6.4.0 Laravel Version: 6.18.23 PHP Version: 7.3.2 Database Driver & Version: mysql & 10.4.11 -browserVersion: 83.0.4103.61 -chromedriverVersion: 83.0.4103.39 Description: I have this issue only in the server, in localhost everything is…
Árnyee
  • 21
  • 1
2
votes
1 answer

SoapClient class not found

I use Laradock for managing my docker containers. I see class SoapClient not found every time I call SoapClient. Simple soap installation do nothing even after php-fpm restart.
Mikayel Margaryan
  • 764
  • 1
  • 7
  • 16