Public | Automated Build

Last pushed: 8 months ago
Short Description
Basic image Laravel php-fpm container with enabled debug features.
Full Description


Development environment using docker-compose

  1. Create container specification in docker-compose.yml
    - image: eugenebalaban:laravel-php-fpm-debug
    - args:
      - INSTALL_XDEBUG=true
    - environment:
     - XDEBUG_CONFIG=remote_host=
     - PHP_IDE_CONFIF=serverName=appSetup
  2. If you're using MacOS replace '' with '' in docker-compose.yml file.
  3. If you're using MacOS open terminal and execute: sudo ifconfig lo0 alias
  4. In PhpStorm use the following steps:
    • Go to Run > Edit Configurations;
    • Click Add > PHP Remote Debug;
    • Configure Web Server using corresponding IP address and port;
    • Use 'PHPSTORM' as IDE key;
    • Configure mapping './' => '/var/www/html'.
Docker Pull Command