Skip to content
Permalink
Browse files

stub out Docker and OpenShift files IQSS#4040

  • Loading branch information...
pdurbin committed Sep 14, 2017
1 parent 1ee12ff commit d28777268f993b6e628666a48428398f1e78d8c1
@@ -0,0 +1 @@
# See `conf/docker` for Docker images
@@ -0,0 +1,2 @@
#!/bin/sh
echo "TODO: Build docker images and push to DockerHub."
@@ -0,0 +1,5 @@
# Glassfish and Dataverse in one Docker image, as suggested by danmcp.
#
# TODO: Start with the Dataverse 4.2.3 version at https://github.com/pdurbin/ndslabs-dataverse/blob/v4.2.3.1/dockerfiles/dataverse/Dockerfile
#
# TODO: Once we get Dataverse 4.2.3 working, we can try Dataverse 4.7 from https://github.com/pdurbin/ndslabs-dataverse/blob/upgrade-4.7/dockerfiles/dataverse/Dockerfile
@@ -0,0 +1,3 @@
# PostgreSQL for Dataverse (but consider switching to the image from CentOS)
#
# See also conf/docker/dataverse-glassfish/Dockerfile
@@ -0,0 +1,8 @@
# Solr for Dataverse
#
# See the note about Dataverse 4.2.3 vs. 4.7 at conf/docker/dataverse-glassfish/Dockerfile
#
# Note that there is a separate Dockerfile we can start with:
#
# Dataverse 4.2.3: https://github.com/pdurbin/ndslabs-dataverse/blob/v4.2.3.1/dockerfiles/solr/Dockerfile
# Dataverse 4.7: https://github.com/pdurbin/ndslabs-dataverse/blob/upgrade-4.7/dockerfiles/solr/Dockerfile
@@ -0,0 +1,40 @@
{
"kind": "Project",
"apiVersion": "v1",
"metadata": {
"name": "dataverse",
"creationTimestamp": null,
"labels": {
"name": "dataverse"
},
"annotations": {
"openshift.io/description": "Dataverse is open source research data repository software: https://dataverse.org",
"openshift.io/display-name": "Dataverse"
}
},
"spec": {
"containers": [
{
"name": "dataverse-glassfish",
"image": "ndslabs/dataverse",
"ports": [
{
"containerPort": 8080,
"protocol": "TCP"
}
]
},
{
"name": "dataverse-solr",
"image": "ndslabs/dataverse-solr",
"ports": [
{
"containerPort": 8983,
"protocol": "TCP"
}
]
}
]
},
"status": {}
}
@@ -20,3 +20,4 @@ Installation Guide
geoconnect
shibboleth
oauth2
openshift
@@ -0,0 +1,24 @@
=================================
Installing Dataverse on OpenShift
=================================

.. contents:: |toctitle|
:local:

Familiarize Yourself with OpenShift
-----------------------------------

https://docs.openshift.com/online/getting_started/index.html

Create OpenShift Account
------------------------

Create Project
--------------

Import YAML/JSON
----------------

Upload ``conf/openshift/openshift.json``.

FIXME: Getting "cannot create projects at the cluster scope"
@@ -14,6 +14,11 @@ We'll try to get you up and running as quickly as possible, but we thought you m
Choose Your Own Installation Adventure
--------------------------------------

OpenShift (for Testing Only)
++++++++++++++++++++++++++++

If you would like to kick the tires on your own installation of Dataverse, you can install it for free on OpenShift Online, a platform as a service (PaaS) offering from Red Hat. For details, please see the :doc:`openshift` section.

Vagrant (for Testing Only)
++++++++++++++++++++++++++

0 comments on commit d287772

Please sign in to comment.
You can’t perform that action at this time.