Skip to content
Snippets Groups Projects
Commit f7ae5758 authored by Anthony Bretaudeau's avatar Anthony Bretaudeau
Browse files

update drupal + make elasticsearchhost configurable

parent 5a12e986
Branches v2.x
No related tags found
No related merge requests found
......@@ -35,8 +35,8 @@ RUN a2enmod rewrite && a2enmod proxy && a2enmod proxy_http
RUN cd /tmp && git clone https://github.com/php/pecl-php-uploadprogress.git && cd pecl-php-uploadprogress && phpize && ./configure && make && make install && cd /
# Download Drupal from ftp.drupal.org
ENV DRUPAL_VERSION=7.67
ENV DRUPAL_TARBALL_MD5=78b1814e55fdaf40e753fd523d059f8d
ENV DRUPAL_VERSION=7.69
ENV DRUPAL_TARBALL_MD5=292290a2fb1f5fc919291dc3949cdf7c
WORKDIR /var/www
RUN rm -R html \
&& curl -OsS https://ftp.drupal.org/files/projects/drupal-${DRUPAL_VERSION}.tar.gz \
......@@ -71,6 +71,7 @@ ENV BASE_URL_PATH="/tripal" \
ENABLE_OP_CACHE=1 \
ENABLE_MEMCACHE=1 \
ENABLE_CRON_JOBS=0 \
ELASTICSEARCH_HOST="elasticsearch" \
TRIPAL_GIT_UPDATE=1 \
TRIPAL_BASE_CODE_GIT="https://github.com/tripal/tripal.git[@00ed8867845aae4fe8fc14b3d426b95cd7b790b4]" \
TRIPAL_GIT_CLONE_MODULES="https://github.com/abretaud/tripal_rest_api.git[@c6f9021ea5d4c6d7c67c5bd363a7dd9359228bbc] https://github.com/tripal/tripal_elasticsearch.git[@dc7f276046e394a80a7dfc9404cf1a149006eb2a] https://github.com/tripal/trpdownload_api.git" \
......
......@@ -21,7 +21,7 @@ $conf['mail_system'] = ['default-system' => 'TestingMailSystem'];
/**
* Default elasticsearch host
*/
$conf['elasticsearch_host'] = 'elasticsearch';
$conf['elasticsearch_host'] = getenv('ELASTICSEARCH_HOST');
/**
* Caching
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment