by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 09:20
    stale[bot] labeled #1898
  • 09:20
    stale[bot] commented #1898
  • Jul 08 20:51
    hrdunn commented #2451
  • Jul 08 12:47
    stale[bot] labeled #2497
  • Jul 08 12:47
    stale[bot] commented #2497
  • Jul 08 11:08
    huypx-nfq commented #93
  • Jul 08 11:07
    huypx-nfq commented #1126
  • Jul 08 11:07
    huypx-nfq commented #1138
  • Jul 08 10:40
    gmalz opened #2651
  • Jul 07 23:27
    songlineboy commented #1350
  • Jul 07 23:24
    songlineboy commented #1350
  • Jul 06 10:08
    DoopSky commented #2650
  • Jul 06 10:02
    DoopSky commented #2450
  • Jul 06 03:10
    stale[bot] labeled #2538
  • Jul 06 03:10
    stale[bot] commented #2538
  • Jul 05 15:06
    1242048704 reopened #2650
  • Jul 05 15:05
    1242048704 commented #2650
  • Jul 05 15:05
    1242048704 closed #2650
  • Jul 05 15:05
    1242048704 commented #2650
  • Jul 05 15:04
    1242048704 edited #2650
Artem Lukianov
@larko300
hi every one
im beginner in docker, try to start new laravel project with laradock.
but after creating laravel project via composer, files in project folder got read-only on my pc, how can i fix this?
Thanks.
Simone Rotondi
@spbisc97
Sudo chmod -R 777 .
From the folder where you installed laradock
If /project/laradock
Do It in project folder
Artem Lukianov
@larko300
Thanks u a lot
Samuel Bie
@Samuel-Bie
Hi
Hi, Everyone
Lucas Bustamante
@Luc45
Hey folks. Is it possible to spin up a MINIMAL version of Laradock? I want to wrap a simple lumen application in a Nginx/PHP/MySQL docker setup, and I felt like using Laradock, for the flexibility if provides if I need more stuff, but I would like to start with just these 3. When I run docker-compose up -d nginx mysql phpmyadmin redis workspace, Laradock goes through a 15 minutes process of downloading docker images and setting up a lot of stuff - is there a way to install only a minimal version, instead?
8 replies
Samuel Bie
@Samuel-Bie
Hi Folks. I am facing issues when loading CertBot container
It does not generate the certificates
Nathan Killen
@Killen1

Hey Everyone! I am running into an issue when I build then start up my docker docker-compose up -d --build php-fpm nginx php-worker workspace redis-cluster mongo I get a 502 bad request error when I hit localhost. I can get it to work if I rebuild php-fpm, but I would like have it work on the initial build. In my logs for php-fpm I am getting an error `genrsa: Can't open "/etc/nginx/ssl/default.key" for writing, No such file or directory

Can't open /etc/nginx/ssl/default.key for reading, No such file or directory` Which is preventing php from fully building. It looks like there are some permission issues with accessing nginx but I do not know where to start or how I can fix this. Can anyone point me in the right direction or have a fix? Thanks!

Simone Rotondi
@spbisc97
Use caddy instead of nginx+certbot, much easier
Simone Rotondi
@spbisc97
You have the same issue also for building only the base?
Nathan Killen
@Killen1
I had to remove php-fpm from the dependency of nginx and run them separately and it worked. I think it was trying to run them at the same time? or out of sync. Thanks for your suggestion though!
Simone Rotondi
@spbisc97
Strange, also because usually PHP-fpm is spinned up by default
lukpeta
@lukpeta

I have MacOs and Laradock. I need to change:

max_execution_time
max_file_uploads
memory_limit
For maximum values? How can I do this?

Tommi Niemi
@hitchhooker
keep receiving 404 error from nginx trying to follow the getting started guide
Tommi Niemi
@hitchhooker
best way to check where to nginx points?
FAQ says something about windows permissons but im running arch
Dendi Handian
@dendihandian
@lukpeta if you are using php7.3, then it should be in laradock\php-fpm\php7.3.ini . For maximum value, idk.
Dendi Handian
@dendihandian

Use caddy instead of nginx+certbot, much easier

@spbisc97 any documentation to use caddy in laradock?

Lucas Ansei
@lucasansei

Hi there!

if I use the host machine nginx and PSQL, in theory these two should be enough right? docker-compose up -d workspace php-fpm

TQHOA
@tqhoa

Hello everybody.
Please help me,

GF_PATHS_DATA='/var/lib/grafana' is not writable. You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migration-from-a-previous-version-of-the-docker-container-to-5-1-or-later mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied

Thank you so much,

TranDuc
@tnduc
Permission, you can chmod it
TQHOA
@tqhoa

Permission, you can chmod it

Thank you, I solved at file Dockerfile

USER root RUN chown -R root:root /etc/grafana && \ chmod -R a+r /etc/grafana && \ chown -R grafana:grafana /var/lib/grafana && \ chown -R grafana:grafana /usr/share/grafana

@dendihandian
This could help, the second part obv
Dendi Handian
@dendihandian
thanks mate @spbisc97
Mohammed Aljuboori
@maljuboori91
Hi
alex caen
@xxandra985_twitter

Hello all. I'm new to docker. Followed the get started guide, but I'm unable to connect on both localhost and 127.0.0.1. Any help? (if it helps, i ran a different container with apache/php, and had no trouble connecting [using the docker ip and a pre-configured port]). With docker ps,
laradock_nginx,
laradock_php-fpm,
laradock_workspace,
laradock_phpmyadmin and
laradock_reddis are running.

Do i need to try connecting with different ip address?

Simone Rotondi
@spbisc97
Try 0.0.0.0
Are u on the right port?
Simone Rotondi
@spbisc97
docker ps should show the host and port
Rubens
@rubensrocha

Does anyone know how to optimize the response speed, my environment takes a long time to respond with Laravel applications.

First time when opening url: 18.5 seconds
Refresh page: 3-4 seconds

Environment:
Windows 10 with WSL 2 (ubuntu)
Laradock: Apache2 + PHP 7.3 + phpMyadmin + Mysql

Configuration:
Core i5 6600k
32GB DDR4 2400MHZ RAM

mlapan
@mlapan
@rubensrocha is it like that if you just have a base nginx box?
Simone Rotondi
@spbisc97
Check docker logs
So you can identify the problem
Docker logs --follow (docker name)
Rubens
@rubensrocha
@mlapan tested with nginx and the same thing happens. but it only happens with Laravel, pure php or Codeigniter responds fast.
toanlv92
@toanlv92

Hello, evey body, when I setting in docker-compose.yml

nginx:
    backend:
          aliases:
            - domain_name

Where will it be configured in the container machine

Shamim Hossain
@shamscorner

Is there any way to integrate PhpRedis in the Laradock?

'client' => env('REDIS_CLIENT', 'phpredis'),

Since from the Laravel 7, the default redis client is phpredis and it is much more performance efficient, I want to use phpredis instead of predis. After surfing through online quite a while, I have found out that containerizing phpredis is kind of hard because I don't have that much experience in docker. So is there any simple way I can dockerize phpredis in Laradock?

Much appreciate the help. Thanks.

Salvatore
@Wit3
Hi anyone can help me?
I've a clean project w/ laradock & clean laravel installation but my TTFB is HUGE ( 4+ sec ) . It depends on?
Mohammad Fazel
@Mdhesari_gitlab
hi every one, how can I set domain hosts for my project like : project-a.test
I try that on windows with c:\windows\system32\drivers\etc\hosts
but get 500 error
127.0.0.1 project-a.test
themadgnomeking
@themadgnomeking
Hey, I'm trying to use the 'Introduction' and in the instructions for changing the 'DB_HOST' I don't find any of these and so I add them. When I do the 'docker-compose up' command it gives me a 404. I'm running docker on Windows 10 pro and not sure what to do from here.
施国鹏
@seth-shi
hi, i try automated deployment my laravel application. but need application every run composer install, php artisan migration, php artisan db:seed How can I do better? What I was thinking about 1. run docker-compose exec workspace composer install in my server , 2 build container, Build a container to run these commands, and then do the same thing each time the code is updated