You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Hitesh Kumar Dasika (JIRA)" <ji...@apache.org> on 2017/10/03 01:49:03 UTC

[jira] [Issue Comment Deleted] (AIRAVATA-2526) Dockerize Airavata PHP Gateway

     [ https://issues.apache.org/jira/browse/AIRAVATA-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hitesh Kumar Dasika updated AIRAVATA-2526:
------------------------------------------
    Comment: was deleted

(was: I am in the process of writing a Dockerfile for Dockerizing Airavata PGA Gateway. My end goal is to replace the current ansible installation of Airavata PGA Gateway with a Docker Container

PR which is still developing: https://github.com/apache/airavata/pull/122

Some Considerations that I want to make:

1. Through the ansible playbook, firewalld is installed and is configured. But when the app is installed in a container, there is no need for firewalld as we can access the container only through the port exposed. The host system can be configured with firewalld which makes more sense.

2.  The second thing is default configurations which need to be copied. There are many conf files and there are placeholders in those which are replaced by ansible. Whereas in Docker container creation, such configurations need to be copied without placeholders into the containers. To achieve this, my plan is to include a volume which is mounted to the container and that volume will have all the configuration files in it. The user will have the option to change configurations in those files.

Any Suggestions would be appreciated.
)

> Dockerize Airavata PHP Gateway
> ------------------------------
>
>                 Key: AIRAVATA-2526
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2526
>             Project: Airavata
>          Issue Type: Sub-task
>          Components: PGA PHP Web Gateway
>            Reporter: Hitesh Kumar Dasika
>            Assignee: Hitesh Kumar Dasika
>
> I am in the process of writing a Dockerfile for Dockerizing Airavata PGA Gateway. My end goal is to replace the current ansible installation of Airavata PGA Gateway with a Docker Container
> PR which is still developing: https://github.com/apache/airavata/pull/122
> Some Considerations that I want to make:
> 1. Through the ansible playbook, firewalld is installed and is configured. But when the app is installed in a container, there is no need for firewalld as we can access the container only through the port exposed. The host system can be configured with firewalld which makes more sense.
> 2. The second thing is default configurations which need to be copied. There are many conf files and there are placeholders in those which are replaced by ansible. Whereas in Docker container creation, such configurations need to be copied without placeholders into the containers. To achieve this, my plan is to include a volume which is mounted to the container and that volume will have all the configuration files in it. The user will have the option to change configurations in those files.
> Any Suggestions would be appreciated.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)