Ai
2 Star 0 Fork 0

mirrors_gbirke/php-xdebug-phpstorm-playground

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.yml 699 Bytes
一键复制 编辑 原始数据 按行查看 历史
Gabriel Birke 提交于 2018-07-03 00:28 +08:00 . Decouple debug from prod/CI environment
version: '3.4'
services:
proxy:
image: nginx:stable
links:
- app
ports:
- "8089:8080"
volumes:
- ./env/nginx.conf.template:/etc/nginx/conf.d/nginx.conf.template:ro
- ./public:/usr/share/nginx/www/public
environment:
- NGINX_HOST=test.local
- NGINX_PORT=8080
- PHP_FPM_HOST=app
command: /bin/bash -c "envsubst '$$NGINX_HOST $$NGINX_PORT $$PHP_FPM_HOST' < /etc/nginx/conf.d/nginx.conf.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
app:
build:
context: ./env
target: base
expose:
- "9000" # PHP-FPM
volumes:
- .:/usr/share/nginx/www
working_dir: /usr/share/nginx/www
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_gbirke/php-xdebug-phpstorm-playground.git
git@gitee.com:mirrors_gbirke/php-xdebug-phpstorm-playground.git
mirrors_gbirke
php-xdebug-phpstorm-playground
php-xdebug-phpstorm-playground
master

搜索帮助