You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
1.2 KiB

5 years ago
  1. # 热爱web团队Docker开发环境
  2. ## 环境情况
  3. 环境包括:
  4. nginx
  5. php-fpm
  6. mysql
  7. redis
  8. mongodb
  9. redis
  10. php模块包括:
  11. bcmath
  12. bz2
  13. calendar
  14. Core
  15. ctype
  16. curl
  17. date
  18. dba
  19. dom
  20. enchant
  21. exif
  22. fileinfo
  23. filter
  24. ftp
  25. gd
  26. gettext
  27. hash
  28. iconv
  29. imagick
  30. intl
  31. json
  32. libxml
  33. mbstring
  34. mcrypt
  35. memcached
  36. mongodb
  37. mysqli
  38. mysqlnd
  39. openssl
  40. pcntl
  41. pcre
  42. PDO
  43. pdo_mysql
  44. pdo_sqlite
  45. Phar
  46. posix
  47. readline
  48. redis
  49. Reflection
  50. session
  51. shmop
  52. SimpleXML
  53. sockets
  54. sodium
  55. SPL
  56. sqlite3
  57. standard
  58. sysvmsg
  59. sysvsem
  60. sysvshm
  61. tokenizer
  62. xml
  63. xmlreader
  64. xmlwriter
  65. Zend OPcache
  66. zip
  67. zlib
  68. ## 环境启动
  69. ```shell
  70. $ docker-compose up -d
  71. ```
  72. 注:MacOs 如出现 not shared from OS X and are not known to Docker,请参考[https://blog.csdn.net/ittubaozi/article/details/89811847](http://)
  73. ## 环境停止
  74. ```shell
  75. $ docker-compose down
  76. ```
  77. ## 重要文件文件
  78. ### mysql
  79. ```shell
  80. ./mysql/etc/my.cnf # MySQL配置文件
  81. ./mysql/nginx/log # MySQL日志
  82. ```
  83. ### nginx
  84. ```shell
  85. ./nginx/conf/nginx.conf # nginx配置文件
  86. ./nginx/conf/vhost # nginx vhost目录
  87. ./nginx/logs # nginx 日志
  88. ./nginx/www # nginx 代码目录
  89. ```
  90. ### php-fpm
  91. ```shell
  92. ./php-fpm/etc/php.ini # php配置文件
  93. ```
  94. ## 如需更多个性配置
  95. > 请自信修改docker-compose.yml