run the laravel framework in the docker environment, using the predis extension. In the link redis Times made an error:
run the laravel framework in the docker environment, using the predis extension. In the link redis Times made an error:
when it was finally found that the system environment variable of docker overrides the .env variable of laravel.
there are two
environment:
REDIS_PORT: 6379
I've tried this method, but it didn't work. I don't know why. I'd like to ask for an explanation.
REDIS_HOST=dnmp_redis_1:6379
. This method is tested to be valid finally put a reference link link description
I checked the execution results from the local docker container. Here is the test I have done: step1. build a php-composer image using dockerFile FROM php:7 RUN apt-get update RUN apt-get install curl RUN curl -sS https: getcomposer.org installer...
gitlaradocktoolboxdocker-compose up nginx~ virtualBoxlocalhost80nginxvirtualBox this should be the container-> machine- > virtualBox, should be the container-> machine there is a problem in this step. there is no answer on the Internet for a long ti...