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.
ww519441258
8f5b46100a
|
5 years ago | |
---|---|---|
mongodb | 5 years ago | |
mysql | 5 years ago | |
nginx | 5 years ago | |
php-fpm | 5 years ago | |
redis | 5 years ago | |
yaml | 5 years ago | |
README.md | 5 years ago | |
docker-compose.yml | 5 years ago | |
kompose | 5 years ago |
README.md
热爱web团队Docker开发环境
环境情况
环境包括: nginx php-fpm mysql redis mongodb redis
php模块包括: bcmath bz2 calendar Core ctype curl date dba dom enchant exif fileinfo filter ftp gd gettext hash iconv imagick intl json libxml mbstring mcrypt memcached mongodb mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix readline redis Reflection session shmop SimpleXML sockets sodium SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter Zend OPcache zip zlib
环境启动
$ docker-compose up -d
注:MacOs 如出现 not shared from OS X and are not known to Docker,请参考https://blog.csdn.net/ittubaozi/article/details/89811847
环境停止
$ docker-compose down
重要文件文件
mysql
./mysql/etc/my.cnf # MySQL配置文件
./mysql/nginx/log # MySQL日志
nginx
./nginx/conf/nginx.conf # nginx配置文件
./nginx/conf/vhost # nginx vhost目录
./nginx/logs # nginx 日志
./nginx/www # nginx 代码目录
php-fpm
./php-fpm/etc/php.ini # php配置文件
如需更多个性配置
请自信修改docker-compose.yml