代码拉取完成,页面将自动刷新
version: '2'
services:
debug:
image: phpstorm/php-71-apache-xdebug
ports:
- "8081:80"
volumes:
- ./workshop/07_Debugging:/var/www/html
environment:
#For Windows and macOS, replace the line below with `host.docker.internal`, which will automatically resolve to the internal address of the host Docker is running on.
#For Linux, replace the line below with your hostname, which you can obtain by executing `hostname` in Terminal.
XDEBUG_CONFIG: remote_host=<host.docker.internal or your hostname>
#For macOS, if you use a local Homebrew php-fpm installation, port `9000` (which is the default debugging port) may become occupied. PhpStorm will remain silent on starting listening for incoming connections. If this is the case, in the Settings | Languages & Frameworks | PHP | Debug, set the Debug port to 9001, and use the following configuration line instead.
#XDEBUG_CONFIG: remote_host=host.docker.internal, remote_port=9001
sftp:
image: phpstorm/sftp-server
ports:
- "2022:22"
volumes:
# Uncomment for Windows
# - C:/temp:/home/jetbrains/upload
# Uncomment for macOS/Linux
# - /tmp:/home/jetbrains/upload
command: jetbrains:jetbrains:1001
mysql:
image: phpstorm/mysql
ports:
- "33056:3306"
volumes:
- ./data:/var/lib/mysql
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。