All Projects → LarryEitel → Phpdock

LarryEitel / Phpdock

Licence: mit
PHP development Docker inspired by Laradock with a focus on configuring PHPStorm for remote debugging. For an improved approach to this, please see: laravel-laradock-phpstorm

Labels

Projects that are alternatives of or similar to Phpdock

Docker Socket Http Proxy
Simple nginx proxy container for the docker socket
Stars: ✭ 7 (-65%)
Mutual labels:  nginx
Status Nginx Module
A http status module for pure nginx, which is in production already.
Stars: ✭ 10 (-50%)
Mutual labels:  nginx
Docker Nginx Express
🐳 A playground for Docker with Nginx and Express.
Stars: ✭ 13 (-35%)
Mutual labels:  nginx
Springbootunity
rabbitmq、redis、scheduled、socket、mongodb、Swagger2、spring data jpa、Thymeleaf、freemarker etc. (muti module spring boot project) (with spring boot framework,different bussiness scence with different technology。)
Stars: ✭ 845 (+4125%)
Mutual labels:  nginx
Devops Tuts
Meteor Devops on OSX with Docker set for Ubuntu
Stars: ✭ 10 (-50%)
Mutual labels:  nginx
Nginx Json Proxy
An experiment with openresty, lua and nginx
Stars: ✭ 10 (-50%)
Mutual labels:  nginx
Php Interview
PHP后端开发面试指南。
Stars: ✭ 26 (+30%)
Mutual labels:  nginx
Ajenticp
Dockerized Ajenti web panel with Ubuntu 16.04 LTS
Stars: ✭ 15 (-25%)
Mutual labels:  nginx
Hack Lang Hhvm Resources
Landscaping With Hack Lang & HHVM Resources
Stars: ✭ 10 (-50%)
Mutual labels:  nginx
Nginx Cleantalk Service
LUA configuration to filter any POST requests.
Stars: ✭ 13 (-35%)
Mutual labels:  nginx
Nginx Tutorial
这是一个 Nginx 极简教程,目的在于帮助新手快速入门 Nginx。
Stars: ✭ 845 (+4125%)
Mutual labels:  nginx
Nuxt Ssr Demo
✨ 高仿掘金,整合 vue + nuxt + axios + vuex + vue-router (nuxt 自带 vuex 和 vue-router),一个基于 Nuxt 的服务器端渲染 Demo
Stars: ✭ 856 (+4180%)
Mutual labels:  nginx
Swarm Examples
Beispiel-Code zum Artikel "Continuous Deployment mit Docker Swarm" im Java Magazin 12.17
Stars: ✭ 11 (-45%)
Mutual labels:  nginx
Stepic web project
Stars: ✭ 8 (-60%)
Mutual labels:  nginx
Drupal With Nginx
Running Drupal using nginx: an idiosyncratically crafted bleeding edge configuration.
Stars: ✭ 878 (+4290%)
Mutual labels:  nginx
Gowebsocket
golang基于websocket单台机器支持百万连接分布式聊天(IM)系统
Stars: ✭ 937 (+4585%)
Mutual labels:  nginx
Netkiller.github.io
Netkiller Free ebook - 免费电子书
Stars: ✭ 861 (+4205%)
Mutual labels:  nginx
Nano Nginx
Nano container with nginx preconfigured as reverse proxy
Stars: ✭ 15 (-25%)
Mutual labels:  nginx
Caprover
Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
Stars: ✭ 7,964 (+39720%)
Mutual labels:  nginx
Prerender.io Nginx
Unofficial prerender.io nginx.conf
Stars: ✭ 11 (-45%)
Mutual labels:  nginx

PhpDock

Inspired by Laradock

Installation

  • Install Laravel
  • Clone this repo into sibling directory
  • Create ssh keys
    • php-fpm/id_rsa_vm
    • php-fpm/id_rsa_vm.pub
    • /C/Users/larry/.ssh/id_rsa_vm.ppk (puttygen'd) Used in PHPStorm for keyless connection
  • cd phpdock
  • docker-compose -d up nginx mariadb
  • Visit: http://laravel/

Start ssh in container docker-compose exec -d php-fpm service ssh start

##Settings

Deployment

  • Name: laravel
  • Connection:
    • Type: SFTP
    • SFTP host: laravel (set domain in hosts to point to docker IP)
    • Port: 22
    • Root path: /var/www/laravel
    • User name: root
    • Auth type: Key pair (OpenSSH or PuTTY)
    • Private key file: C:\Users\larry\id_rsa_vm.ppk (created a puttygen ppk)
    • Web server root URL: http://laravel
  • Mappings
    • Local Path: C:\_dk\laravel Deployment: \
    • Local Path: C:\_dk\laravel\public Deployment: \

Languages & Frameworks / PHP

  • Developement environment
    • PHP language level 7
    • Interpreter: laravel (7.0.7)
      • Interpreters
        • Name: laravel
        • Remote
          • Remote: Deployment configuration
          • Deployment configuration: sftp laravel
          • Deployment Host URL: ssh://[email protected]:22
        • General
          • PHP executable: /usr/local/bin/php
          • (i) PHP version: 7.0.7 Debugger: Xdebug 2.4.2
          • (i) Configuration file: /usr/local/etc/php/php.ini
    • Path mappings
      • From deployment configuration
        • Local Path: C:/_dk/laravel Deployment: /var/www/laravel
        • Local Path: C:/_dk/laravel/public Deployment: /var/www/laravel/public

Languages & Frameworks / PHP / Debug

  • Xdebug
    • Debug port: 9000 [x] Can accept external connections

Languages & Frameworks / PHP / Servers

  • Name: laravel
  • Host: laravel : Port 80 Debugger Xdebug [x] Use path mappings
  • File/Directory: C:\_dk\laravel Absolute: /var/www/laravel
  • File/Directory: C:\_dk\laravel\tests Absolute: /var/www/laravel/tests

Languages & Frameworks / PHP / PHPUnit

  • Interpreter: laravel
  • Path mappings:
    • Local Path: C:/_dk/laravel Deployment: /var/www/laravel
    • Local Path: C:/_dk/laravel/public Deployment: /var/www/laravel/public
  • PHPUnit library
    • [x]Use Composer autoloader
    • Path to script: /var/www/laravel/vendor/autoload.php
  • Test Runner
    • [x] Default configuration file: /var/www/laravel/phpunit.xml

Run Debug/Debug Configurations

  • PHPUnit:
    • Name: ExampleTest
    • [x] Class
    • Class: ExampleTest
    • File: C:\_dk\laravel\tests\ExampleTest.php
    • Test Runner options: --colors --tap --verbose --debug (Probably unnecessary )

Run Test with Debugging

  • Open: C:\_dk\laravel\tests\ExampleTest.php
  • Set breakpoint on line: $this->visit('/')
  • Press: Shift-F9
    • SHOULD be stopped on breakpoint!

License

MIT License (MIT)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].