Skip to content

Commit

Permalink
Mail fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio committed Jan 11, 2021
1 parent 42b3e3b commit 2fa573d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ RUN /opt/keops/configure-keops.sh

EXPOSE 80

RUN rm -r /opt/keops/.git
RUN rm -r /opt/keops/.git || :

CMD ./opt/keops/docker-entrypoint.sh
2 changes: 1 addition & 1 deletion Dockerfile-db
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ RUN apt-get update -q --fix-missing && \

RUN /opt/configure-db.sh

RUN rm -r /opt/.git
RUN rm -r /opt/.git || :

CMD ./opt/docker-entrypoint-db.sh $POSTGRESPASSWORD $KEOPS_ROOT_PASSWORD
2 changes: 2 additions & 0 deletions configure-keops.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ cp /opt/keops/keops.conf /etc/nginx/sites-available/keops.conf && cd /etc/nginx/

echo "extension=pdo_pgsql" >> /etc/php/7.2/fpm/php.ini
echo "extension=pgsql" >> /etc/php/7.2/fpm/php.ini
echo "variables_order=EGPCS" >> /etc/php/7.2/fpm/php.ini
echo "clear_env=no" >> /etc/php/7.2/fpm/pool.d/www.conf

cd /opt/keops
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Expand Down
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ENDOFMESSAGE
cat >/opt/keops/resources/db/keopsdb.class.php

echo "STARTING PHP..."
service php7.2-fpm stop && /etc/init.d/php7.2-fpm start
service php7.2-fpm stop && sudo -E /etc/init.d/php7.2-fpm start

echo "STARTING NGINX..."
service nginx stop && service nginx start
Expand Down

0 comments on commit 2fa573d

Please sign in to comment.