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.

33 lines
496 B

5 years ago
  1. # 热爱web团队Docker开发环境
  2. ## 环境启动
  3. ```shell
  4. $ docker-compose up -d
  5. ```
  6. ## 环境停止
  7. ```shell
  8. $ docker-compose down
  9. ```
  10. ## 重要文件文件
  11. ### mysql
  12. ```shell
  13. ./mysql/etc/my.cnf # MySQL配置文件
  14. ./mysql/nginx/log # MySQL日志
  15. ```
  16. ### nginx
  17. ```shell
  18. ./nginx/conf/nginx.conf # nginx配置文件
  19. ./nginx/conf/vhost # nginx vhost目录
  20. ./nginx/logs # nginx 日志
  21. ./nginx/www # nginx 代码目录
  22. ```
  23. ### php-fpm
  24. ```shell
  25. ./php-fpm/etc/php.ini # php配置文件
  26. ```