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
Stars: ✭ 20
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
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
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
Drupal With Nginx
Running Drupal using nginx: an idiosyncratically crafted bleeding edge configuration.
Stars: ✭ 878 (+4290%)
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
PhpDock
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
- Type:
- Mappings
- Local Path:
C:\_dk\laravel
Deployment:\
- Local Path:
C:\_dk\laravel\public
Deployment:\
- Local Path:
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
- Remote:
- 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
- PHP executable:
- Name:
- Interpreters
- 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
- Local Path:
- From deployment configuration
- PHP language level
Languages & Frameworks / PHP / Debug
- Xdebug
- Debug port:
9000
[x
] Can accept external connections
- Debug port:
Languages & Frameworks / PHP / Servers
- Name:
laravel
- Host:
laravel
: Port80
DebuggerXdebug
[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
- Local Path:
- 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 )
- Name:
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].