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.

104 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, bz2
  12. calendar
  13. Core
  14. ctype
  15. curl
  16. date
  17. dba
  18. dom
  19. enchant
  20. exif
  21. fileinfo
  22. filter
  23. ftp
  24. gd
  25. gettext
  26. hash
  27. iconv
  28. imagick
  29. intl
  30. json
  31. libxml
  32. mbstring
  33. mcrypt
  34. memcached
  35. mongodb
  36. mysqli
  37. mysqlnd
  38. openssl
  39. pcntl
  40. pcre
  41. PDO
  42. pdo_mysql
  43. pdo_sqlite
  44. Phar
  45. posix
  46. readline
  47. redis
  48. Reflection
  49. session
  50. shmop
  51. SimpleXML
  52. sockets
  53. sodium
  54. SPL
  55. sqlite3
  56. standard
  57. sysvmsg
  58. sysvsem
  59. sysvshm
  60. tokenizer
  61. xml
  62. xmlreader
  63. xmlwriter
  64. Zend OPcache
  65. zip
  66. zlib
  67. ## 环境启动
  68. ```shell
  69. $ docker-compose up -d
  70. ```
  71. ## 环境停止
  72. ```shell
  73. $ docker-compose down
  74. ```
  75. ## 重要文件文件
  76. ### mysql
  77. ```shell
  78. ./mysql/etc/my.cnf # MySQL配置文件
  79. ./mysql/nginx/log # MySQL日志
  80. ```
  81. ### nginx
  82. ```shell
  83. ./nginx/conf/nginx.conf # nginx配置文件
  84. ./nginx/conf/vhost # nginx vhost目录
  85. ./nginx/logs # nginx 日志
  86. ./nginx/www # nginx 代码目录
  87. ```
  88. ### php-fpm
  89. ```shell
  90. ./php-fpm/etc/php.ini # php配置文件
  91. ```
  92. ## 如需更多个性配置
  93. > 请自信修改docker-compose.yml