Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
469c64490c | |||
5c0a6dfd6d | |||
ade6a6d415 | |||
e020b4cc3f | |||
b2a5879743 |
@ -4,8 +4,8 @@ RUN apt-get -y update && apt-get -y install nginx php-fpm php-mysql php-apcu php
|
||||
mysql-client imagemagick curl wget zip unzip php-pclzip git msmtp msmtp-mta
|
||||
RUN pip install supervisor-stdout
|
||||
|
||||
ENV MW_VERSION REL1_32
|
||||
ENV MW_SOURCE https://releases.wikimedia.org/mediawiki/1.32/mediawiki-1.32.1.tar.gz
|
||||
ENV MW_VERSION REL1_33
|
||||
ENV MW_SOURCE https://releases.wikimedia.org/mediawiki/1.33/mediawiki-1.33.0.tar.gz
|
||||
ENV SMF_VERSION 2.0.15
|
||||
ENV SMF_SOURCE https://download.simplemachines.org/index.php/smf_2-0-15_install.tar.gz
|
||||
|
||||
@ -59,6 +59,9 @@ RUN ln -sf /configuration/supervisord.conf /etc/supervisor/supervisord.conf && \
|
||||
ln -sf /configuration/php-fpm-pool.conf /etc/php/7.0/fpm/pool.d/www.conf && \
|
||||
ln -sf /configuration/php.ini /etc/php/7.0/fpm/php.ini
|
||||
|
||||
ADD https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh /usr/bin/wait-for-it
|
||||
RUN chmod +x /usr/bin/wait-for-it
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD /usr/bin/supervisord -n
|
||||
|
File diff suppressed because one or more lines are too long
@ -35,6 +35,7 @@ sed -i "s/@GCL_SMTP_USER@/$GCL_SMTP_USER/g" /etc/msmtprc
|
||||
sed -i "s/@GCL_SMTP_PASSWORD@/$GCL_SMTP_PASSWORD/g" /etc/msmtprc
|
||||
|
||||
# Run maintenance scripts
|
||||
wait-for-it "$GCL_DB_HOST:3306" --timeout=60
|
||||
cd $WIKI_SOURCE/maintenance
|
||||
php update.php
|
||||
|
||||
|
Reference in New Issue
Block a user