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.

105 lines
1.0 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. ## 环境停止
  73. ```shell
  74. $ docker-compose down
  75. ```
  76. ## 重要文件文件
  77. ### mysql
  78. ```shell
  79. ./mysql/etc/my.cnf # MySQL配置文件
  80. ./mysql/nginx/log # MySQL日志
  81. ```
  82. ### nginx
  83. ```shell
  84. ./nginx/conf/nginx.conf # nginx配置文件
  85. ./nginx/conf/vhost # nginx vhost目录
  86. ./nginx/logs # nginx 日志
  87. ./nginx/www # nginx 代码目录
  88. ```
  89. ### php-fpm
  90. ```shell
  91. ./php-fpm/etc/php.ini # php配置文件
  92. ```
  93. ## 如需更多个性配置
  94. > 请自信修改docker-compose.yml