Code Monkey home page Code Monkey logo

docker-dev-env's Introduction

Docker development environment for personal use Collection of mysql5.6, nginx, php-fpm56, php-fpm72, redis, rabbitmq, ftpd_server

Installed the xdebug extension for php-fpm56 and php-fpm72,

After configuring the phpStorm debug, you can debug directly, no other configuration is needed (maybe, the time is a bit long and hard to remember ~)

Works with Chrome extension Xdebug helper with address https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc

##Instructions:

git clone https://github.com/rexmolo/docker-dev-env.git

Container management

Start all: docker-compose up After installation you can use docker-compose -d up

Stop everything: docker-compose down

Restart one: docker-compose restart php-fpm56

Enter some: docker exec -it php-fpm56 bash

fastcgi:

Php56: fastcgi_pass php-fpm56: 9000;

Php72: fastcgi_pass php-fpm72: 9000;

ftpd_server: (execute subordinate commands in the container)

Add account command:

useradd ftptest -g ftpgroup -d / home / ftpusers / ftptest -s / sbin / nologin

Enter the following command, you will be prompted to set a password, and then you can use it normally

pure-pw useradd ftptest -f /etc/pure-ftpd/passwd/pureftpd.passwd -m -u ftptest -d / home / ftpusers / ftptest

Look at a few users:

pure-pw list

Reset the ttt user's password:

pure-pw passwd ttt

Data refresh:

pure-pw mkdb

RabbitMQ Interface Management: http://127.0.0.1:15672 Account: guest Password: guest

Remarks:

Some mount paths in docker-compose.yml may require some simple adjustments, for example ~ / www /: / data / httpd in volumes in php-fpm56 may need to be modified to your own project storage path

docker-dev-env's People

Contributors

rexmolo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  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.