mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Min instances and prestart
This commit is contained in:
@@ -71,8 +71,8 @@ RUN a2ensite default-ssl.conf
|
||||
|
||||
# Add apache tuning stuff
|
||||
RUN echo PassengerMaxPoolSize 3 >> /etc/apache2/apache2.conf
|
||||
#RUN echo PassengerPoolIdleTime 120 >> /etc/apache2/apache2.conf
|
||||
#RUN echo RailsAutoDetect off >> /etc/apache2/apache2.conf
|
||||
RUN echo PassengerMinInstances 3 >> /etc/apache2/apache2.conf
|
||||
RUN echo PassengerPreStart >> /etc/apache2/apache2.conf
|
||||
|
||||
# By default, simply start apache.
|
||||
CMD /usr/sbin/apache2ctl -D FOREGROUND
|
||||
|
||||
Reference in New Issue
Block a user