Skip to content

Commit

Permalink
Merge branch 'master' of github.com:WPO-Foundation/webpagetest
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeenan committed Dec 13, 2017
2 parents e0c3a68 + 04e5623 commit 4150ee6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN echo deb http://www.deb-multimedia.org jessie main non-free >> /etc/apt/sour
python \
python-pillow \
cron \
beanstalkd \
supervisor && \
\
DEBIAN_FRONTEND=noninteractive apt-get install -q -y --force-yes\
Expand Down Expand Up @@ -57,10 +58,11 @@ COPY docker/server/config/php.ini /usr/local/etc/php/
COPY docker/server/config/apache2.conf /etc/apache2/apache2.conf
COPY docker/server/config/crontab /etc/crontab

# config supervisor to run apache AND cron
# config supervisor to run apache, cron, beanstalkd
COPY docker/server/config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY docker/server/config/supervisord/supervisord_apache.conf /etc/supervisor/conf.d/supervisord_apache.conf
COPY docker/server/config/supervisord/supervisord_cron.conf /etc/supervisor/conf.d/supervisord_cron.conf
COPY docker/server/config/supervisord/supervisord_beanstalkd.conf /etc/supervisor/conf.d/supervisord_beanstalkd.conf

# copy script to run WPT cron scripts
COPY docker/server/scripts/wpt_cron_call.sh /scripts/wpt_cron_call.sh
Expand Down
6 changes: 6 additions & 0 deletions docker/server/config/supervisord/supervisord_beanstalkd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[program:beanstalk]
command = beanstalkd -l 127.0.0.1 -p 11300
autostart = true
autorestart = true
stderr_logfile = /var/log/supervisor/beanstalk_stderr.log
stdout_logfile = /var/log/supervisor/beanstalk_stdout.log
2 changes: 1 addition & 1 deletion www/traceroute.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
Number of Tests to Run<br>
<small>Up to <?php echo $settings['maxruns']; ?></small>
</label>
<input id="number_of_tests" type="text" class="text short" name="runs" value="3">
<input id="number_of_tests" type="number" class="text short" name="runs" value="3">
</li>
</ul>
</div>
Expand Down

0 comments on commit 4150ee6

Please sign in to comment.