Code Monkey home page Code Monkey logo

docker-old's Introduction

Docker (for DEV)

Credentials: SSH, FTP

user: root pass: root

List of repositories:

* iagapie/alpine-3.7
* iagapie/alpine-3.5
* iagapie/alpine-apache-2.4
* iagapie/alpine-nginx-1.13
* iagapie/alpine-php-5.6
* iagapie/alpine-php-7.0
* iagapie/alpine-php-7.1
* iagapie/alpine-php-7.2

Generate self signed certificate example:

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mysite.com.key -out mysite.com.crt

Docker run example:

docker run -itd --name php-7.2 -p 2072:20 -p 2172:21 -p 2272:22 -p 9000 -p 9009 -v $PWD:/app iagapie/alpine-php-7.2

See docker-compose.yml for more complex example

PhpStorm Xdebug

  • Languages & Frameworks > PHP > Add > Remote...
    • SSH Credentials
      • HOST
        • Docker-machine: 192.168.99.100 (Recommended)
        • Linux or Docker4{MAc|Windows}: localhost
      • port: 2244 (or the one you choose on the docker run command)
      • user: root
      • pass: root
      • Executable: /usr/bin/php
    • Path mappings:
      • -> /app

Oficial PHPStrom documentation for remote connexion via SSH Credentials.

docker-old's People

Contributors

iagapie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.