File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM tutum/nginx:latest
2
2
3
3
# Install packages
4
4
RUN apt-get update
5
- RUN apt-get install -y supervisor curl wget php5-fpm php5-mysql php5-mcrypt php5-gd php5-memcached php5-curl
5
+ RUN apt-get install -y supervisor curl wget php5-fpm php5-mysql php5-mcrypt php5-gd php5-memcached php5-curl php5-xdebug
6
6
7
7
# Install HHVM
8
8
RUN wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | apt-key add -
@@ -18,10 +18,11 @@ RUN mkdir -p /var/run/hhvm
18
18
19
19
# Add configuration files
20
20
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
21
+ ADD php.ini /etc/php5/fpm/conf.d/40-custom.ini
21
22
22
23
# Expose volumes
23
24
VOLUME ["/var/www" , "/etc/nginx/sites-enabled" ]
24
25
25
- EXPOSE 80
26
+ EXPOSE 80 9000
26
27
27
28
CMD ["/usr/bin/supervisord" ]
Original file line number Diff line number Diff line change
1
+ ; Enable XDebug
2
+ zend_extension = xdebug.so
3
+
4
+ ; XDebug configuration
5
+ xdebug.remote_enable = 1
6
+ xdebug.renite_enable = 1
7
+ xdebug.max_nesting_level = 1000
8
+ xdebug.profiler_enable_trigger = 1
9
+ xdebug.profiler_output_dir = " /var/log"
You can’t perform that action at this time.
0 commit comments