# workspace **Repository Path**: mxycool/workspace ## Basic Information - **Project Name**: workspace - **Description**: docker开发环境 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2021-04-12 - **Last Updated**: 2022-06-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 命令: docker compose up -d 首次启动 docker compose start 启动 docker compose down 删除 docker compose stop 停止 启动成功随后修改本地dns 127.0.0.1 mysql hostname:dbm.test password:aa123456 redis hostname:dbr.test password:aa123456 nginx 配置示例 ``` server { listen 80; server_name ongoods.test; root /projects/ongoods/public; index index.php; charset utf-8; location / { try_files $uri $uri/ /index.php?$query_string; } location ~ \.php$ { include fastcgi_params; fastcgi_pass php74:9000; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; } } ```