10/4/2023 0 Comments Download laravel sail xdebug![]() We do not mount the Nginx to the end/correct location because we require envsubst to run over it and replace two variables in the nf file. ![]() If you know Nginx then you will notice that we actually put a "wrong" file name into the image default.temp. Nginx mounts two volumes./:/var/this volume are the actual nginx configs. In the next section we are going to take a closer look at the Nginx compose section and configs. Which basically tells docker to resolve docker-container-names to their network IP address. env volumes : db_data : driver : " local" cache_data : driver : " local" networks : proxynet : name : portalĮnter fullscreen mode Exit fullscreen mode :/var/command : composer install networks : - proxynet env_file :. ![]() docker/xdebug-nginx.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini. Version : ' 3.8' services : app : container_name : $-php-fpm volumes :. We are going to need 3 files, 2 Dockerfiles and one docker-compose.yml file.įirst the main Dockerfile for the actual app container:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |