You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2019/12/31 21:45:23 UTC

[airavata] 02/02: Minor fixes in IDE integration

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git

commit 51777de2277dd1b562e34b97fcf1692b52320a2f
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Tue Dec 31 16:45:07 2019 -0500

    Minor fixes in IDE integration
---
 modules/ide-integration/src/main/resources/pga/Dockerfile         | 2 +-
 modules/ide-integration/src/main/resources/pga/docker-compose.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/ide-integration/src/main/resources/pga/Dockerfile b/modules/ide-integration/src/main/resources/pga/Dockerfile
index 7665443..ce724e9 100644
--- a/modules/ide-integration/src/main/resources/pga/Dockerfile
+++ b/modules/ide-integration/src/main/resources/pga/Dockerfile
@@ -7,4 +7,4 @@ RUN mkdir /var/www/portals
 RUN a2enmod rewrite
 EXPOSE 80
 EXPOSE 443
-CMD [ "/bin/sh", "-c", "composer --working-dir=/var/www/portals/default install && echo 'Starting sever..' && /usr/sbin/apache2ctl -D FOREGROUND"]
\ No newline at end of file
+CMD [ "/bin/sh", "-c", "mkdir -p /var/www/portals/default/app/storage/views/ && mkdir -p /var/www/portals/default/app/storage/sessions/ && composer --working-dir=/var/www/portals/default install && echo 'Starting sever..' && /usr/sbin/apache2ctl -D FOREGROUND"]
\ No newline at end of file
diff --git a/modules/ide-integration/src/main/resources/pga/docker-compose.yml b/modules/ide-integration/src/main/resources/pga/docker-compose.yml
index c796eae..1acc053 100644
--- a/modules/ide-integration/src/main/resources/pga/docker-compose.yml
+++ b/modules/ide-integration/src/main/resources/pga/docker-compose.yml
@@ -4,7 +4,7 @@ services:
     image: dimuthuupe/pga:1.0
     volumes:
       - ./airavata-php-gateway:/var/www/portals/default
-      - ./exp-data-dir:/var/www/portals/gateway-user-data
+      - /tmp:/tmp
     ports:
       - "8008:80"
     mem_limit: 3G