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
0
votes
3 answers

Artisan migrate fails for (very) large number of data inserts

So I've been using Laravel's database migrations in a recent project and everything works perfectly, except for a "cities" table that has about 3.8 million rows. The following works as expected: DB::table('cities')->insert([ 'name' =>…
Donal.Lynch.Msc
  • 3,365
  • 12
  • 48
  • 78
0
votes
1 answer

Connect to selenium inside docker container

I trying connect to selenium, but I getting error: Failed to connect to localhost port 4444: Connection refused What is wrong? It is works normally in browser: http://localhost:4444/wd/hub/ and I see selenium. I also tried connect to different port…
John
  • 61
  • 2
  • 7
0
votes
3 answers

Error cannot start services after running docker-compose up -d using Laradock

I just ran docker-compose up -d nginx mysql redis to install docker for the first time on Mac OSX 10.13.6 High Sirra. It seems I WARNING: Image for service nginx was built because it did not already exist. To rebuild this image you must use…
user3325126
  • 1,284
  • 4
  • 15
  • 36
0
votes
1 answer

Laradock installing msodbcsql

I'm trying to move legacy project to docker which is using msodbcsql with pdo_odbc drivers to connect to SQL Server database. My dockerfile: #install freetds RUN apt-get update && \ apt-get install -y gnupg2 && \ apt-get install -y…
Deeeic
  • 11
  • 3
0
votes
1 answer

Can't get Xdebug to work

Info: Docker version ($ docker --version): Docker version 18.06.0-ce, build 0ffa825 Laradock commit ($ git rev-parse HEAD): 8180804ae System info (Mac, PC, Linux): macOs HighSierra 10.13.6 Issue: Can't get Xdebug to work. Expected…
ZR87
  • 1,463
  • 16
  • 27
0
votes
1 answer

Can't install php7.2-ldap extension in Laradock

I am trying to install php7.2-ldap in Laradock and I've set WORKSPACE_INSTALL_LDAP=true and PHP_FPM_INSTALL_LDAP=true and then tries to build the image like docker-compose build workspace And I get this error message. Part of the log The…
Ariful Haque
  • 3,662
  • 5
  • 37
  • 59
0
votes
1 answer

Laradock: Laravel queue worker can't connect to RabbitMQ

I've set up a Laravel (5.6) application with RabbitMQ (3.7.6) using the latest Laradock and composer-installed https://github.com/vyuldashev/laravel-queue-rabbitmq . When I start the Laravel message worker with php artisan queue:work I'm getting the…
Naoki Peter
  • 51
  • 2
  • 7
0
votes
1 answer

docker and python using symfony process

I am using Laradock and want to be able to run a python script from my laravel app using Symfony Process. From inside the root on my container I can run "python3 script_name.py arg1" and it runs just fine. pip list shows all modules needed. When I…
caro
  • 863
  • 3
  • 15
  • 36
0
votes
2 answers

Artisan migrate docker error

I have Laradock setup and serving a website in larval, but when I try to run php artisan migrate I get this error. SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = yt and…
John Freedom
  • 471
  • 4
  • 6
  • 11
0
votes
0 answers

docker project accessing mysql container

I am using Laradock at the moment to run various PHP projects -- and while I know it has a MYSQL implementation, I also have mysql container already running, which I have several databases in and can already hit externally with Sequel Pro. I have…
caro
  • 863
  • 3
  • 15
  • 36
0
votes
1 answer

laradock_mysql won't start and exits(1)

When i'm composing up from my laradock folder. All services start except from mysql. Screenshot here I have restored my docker to default settings but mysql keeps exiting. My error say's i'm setting a value. But i don't even have a database. So that…
ToonDoe
  • 11
  • 5
0
votes
2 answers

issue after update elasticsearch in docker or laradock

I updated ElasticSearch 5.4.1 to 5.6.3 but when I want to run it have some error and don't know how solve it !!! Starting laradock_applications_1 ... Starting laradock_applications_1 ... done laradock_workspace_1 is up-to-date laradock_php-fpm_1 is…
0
votes
1 answer

Clone and run laravel application easily

I have developed my first laravel web app application on my local machine. Which is the best way to clone and run locally this web application on other computers by other people? I want to share this application and simplify the "clone" and "run"…
Docu
  • 147
  • 1
  • 15
0
votes
2 answers

Using Laradock, the "display_errors" flag is not working

I have change display_errors = off to display_errors = On in php-fpm/php70.ini and laravel.ini, and restarted the nginx and php-fpm, but when I refresh the phpinfo page, it shows display_errors is still off. So I can't display the php errors on the…
zomboo
  • 1
  • 2
0
votes
4 answers

Laradock: Install image magik

I am trying to install image magik inside laradock https://github.com/laradock/laradock I have setup nginx , mysql, redis and elasticsearch. I have tried installing the image magik inside php-fpm with RUN apt-get -y update && \ apt-get install…
Sandhu
  • 348
  • 5
  • 23
1 2 3
18
19