& echo "xdebug.remote_connect_back=1" > /usr/local/etc/php/conf.d/xdebug.ini \ & echo "xdebug.remote_port=9000" > /usr/local/etc/php/conf.d/xdebug.ini \ & echo "xdebug.idekey=PHPSTORM" > /usr/local/etc/php/conf.d/xdebug.ini \ & echo "xdebug.remote_autostart=off" > /usr/local/etc/php/conf.d/xdebug.ini \ & echo "xdebug.remote_enable=on" > /usr/local/etc/php/conf.d/xdebug.ini \ & echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ Mv composer.phar /usr/local/bin/composer & \ with-freetype-dir=/usr/include/freetype2 \ RUN apt-get update & apt-get install -y libfreetype6-dev libjpeg-dev libpng-dev libfontconfig1 libxrender1 git libmcrypt-dev zip mysql-client & \ #RUN printf "deb jessie main\ndeb-src jessie main\ndeb jessie/updates main\ndeb-src jessie/updates main" > /etc/apt/sources.list # Set to keep file permissions same as host for mounted volume I started changing files fpm.docker: FROM php:7.1.18-fpm Real example on my computer: /var/www/html/jobsoutsource (dev) $ docker-compose exec fpm hostname -I To get the IP I used this syntax: docker-composer exec hostname -I I just want to help out a bit how I managed to set it up with my client's docker.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |