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

I am getting an error like this while using docker but I don't know how to fix it

i'm have submit on console like this code, and I am receiving the error message below. $ docker-compose up -d selenium I am currently using the laravel, laradock and window10 pro. The error does not appear on other computers and works normally, but…
Choi yun seok
  • 309
  • 2
  • 15
3
votes
0 answers

SQLSTATE[HY000] [2002] No such file or directory laradock?

I work in ubuntu. I install laradock, after laravel and all work fine. But, i study the lesson with migration, and when i try to apply command php artisan migrate, i get an error from the question. My dbconfig…
serii
  • 67
  • 2
  • 9
3
votes
1 answer

cURL error 7: Failed to connect to test.localhost port 80

I use laradock. I created multiple projects. One project is one microservice. I need to use guzzle http to get data from one microservice to another. In laradock/nginx/sites I configured all virtual host. Each project(microservice) work fine…
first
  • 482
  • 4
  • 17
3
votes
5 answers

How to fix SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `categories` where `enable` = 1) on Laradock?

I'm trying to build laravel on docker, But when I tried to run php artisan migrate I got an error like this: SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from categories where enable = 1) Error in Output Error in Output This is…
widn.widnn
  • 31
  • 1
  • 3
3
votes
0 answers

Docker-compose postgres table not showing up on Navicat

I have a docker running and everything is okay, my app running well. but, I can't show my table on Navicat. even though it's showed up on pgAdmin. I've no idea what to do. Edit I can do a query, but the table still not showing.
3
votes
1 answer

Laradock: separate environment for each project or single environment for multiple projects?

Laradock offers two options: (1) separate Docker environment for each project and (2) single Docker environment for all your projects. What's the difference between the two setups? Which setup would be recommended if I have two projects that I'm…
qwaz
  • 1,285
  • 4
  • 23
  • 47
3
votes
0 answers

Deploying a Laravel app built with LaraDock to Heroku

I have a heroku.yml file created in the root directory of my application. According to the Heroku documentation, I should point build.docker.web to some specific Dockerfile (https://devcenter.heroku.com/articles/build-docker-images-heroku-yml).…
3
votes
1 answer

how to configure laravel with postgres using laradock? could not connect to server: Connection refused on port 5432

Im starting a new laravel project and im trying to configure to run it with laradock postgres container. I have the postgres container running in port 5432 but when i run: docker-compose exec workspace bash php artisan migrate im getting the…
Marcelo Fonseca
  • 1,705
  • 2
  • 19
  • 38
3
votes
1 answer

How to edit files which are made by Laradock workspace

I've newly started to use Laradock to build my Laravel projects but I have a problem in editing the files such as Controllers, Models, etc which are made by the php artisan command in the Laradock workspace. The reason is the user in the workspace…
Tohid Dadashnezhad
  • 1,808
  • 1
  • 17
  • 27
3
votes
2 answers

Laradock 404 not found nginx

I'm trying to set up Laradock for my Laravel projects. I started with a new laravel project just to test things before trying with my current projects. I followed the tutorial but somewhere during the steps I must have messed something up I think…
Jasper
  • 83
  • 2
  • 11
3
votes
1 answer

Docker: calling an executable from php does not work

I have set up a Laradock environment with Nginx and php-fpm containers running. From PHP I want to call an executable: "; exec('/usr/local/bin/assimp version', $output, $returnValue); …
Kubus
  • 43
  • 4
3
votes
0 answers

Can not install v8js extension for SSR using Laradock

I am trying to manage server side rendering using react-laravel which requires v8js extension.My working environment is a laradock. I have enabled V8JS installation in laradocks .env file: WORKSPACE_INSTALL_V8JS=true I have rebuild my workspace and…
Jan Ciołek
  • 1,796
  • 3
  • 17
  • 32
3
votes
3 answers

npm install on laradock not working

I created a Laravel project using Laradock. When I run npm install I get the following output. > node-sass@4.9.0 install /var/www/npmtest/node_modules/node-sass > node scripts/install.js fs.js:119 throw err; ^ Error: EINVAL: invalid…
Harlan Gray
  • 341
  • 6
  • 20
3
votes
0 answers

Laradock php-fpm apache2 file_get_contents connection refused

I've running laradock 7.0.0 with the a multi project structure with the following containers: docker-compose up -d apache2 That will run php-fpm and apache2 I configured my hosts file to connect to localhost: /etc/hosts 127.0.0.1 …
3
votes
1 answer

How to resolve --initialize specified but the data directory has files in it. on laradock mysql container

I'm using laradock. when I use docker-compose up mysql I got this error. mysql_1 | Initializing database mysql_1 | 2018-04-22T10:41:01.362165Z 0 [ERROR] --initialize specified but the data directory has files in it.…
Masahiro Hanawa
  • 133
  • 1
  • 1
  • 13
1 2
3
18 19