Skip to content

Experiments in running Dataverse in Docker (version 5.8)

Notifications You must be signed in to change notification settings

RAHMAHAMMA/dataverse-docker

 
 

Repository files navigation

Dataverse Docker module

Dataverse Docker module was developed by DANS (Data Archiving and Networked Services) to run Dataverse data repository on Kubernetes and other Cloud services supporting Docker. Current available version of Dataverse in the Docker module is 5.8. The development of Docker module funded by SSHOC project that will create the social sciences and humanities area of the European Open Science Cloud (EOSC).

Main features

  • fully automatic Dataverse deployment with Traefik proxy
  • Dataverse configuration managed through environmental file .env
  • external controlled vocabularies support (demo of CESSDA CMM metadata fields connected to Skosmos framework)
  • MinIO storage support
  • data previewers integrated in the distributive
  • startup process managed through scripts located in init.d folder
  • automatic SOLR reindex
  • external services integration PostgreSQL triggers
  • support of custom metadata schemes (CESSDA CMM, CLARIN CMDI, ...)

Installation

Dataverse Docker module v5.6 uses Træfik, a modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Træfik integrates with your existing infrastructure components (Docker, Swarm mode, Kubernetes, Marathon, Consul, Etcd, Rancher, Amazon ECS, ...) and configures itself automatically and dynamically.

You need to specify the value of "traefikhost" and pub your domain name there (for example, sshopencloud.eu or just localhost) before you'll start to deploy Dataverse infrastructure:

export traefikhost=localhost OR export traefikhost=sshopencloud.eu

and create docker network for all the containers you would expose on the web

docker network create traefik

By default you'll get SSL certificate provided by letsencrypt, please specify your email address if you need https support, for example:

export [email protected]

  • Make sure you have docker and docker-compose installed
  • Run docker-compose up to start Dataverse on your domain name with SSL support or
  • run docker-compose -f docker-compose-local.yml up to try Dataverse on localhost

Standalone Dataverse should be running on dataverse-dev.localhost or dataverse-dev.sshopencloud.eu if you've selected the domain.

Default user/password: dataverseAdmin/admin and after you should change it.

Check if Dataverse is already available: curl http://localhost:8080

If it's not coming up please check if all required containers are up: docker ps


CONTAINER ID        IMAGE                                 COMMAND                  CREATED              STATUS              PORTS                                          NAMES

3a30792b22fe        dockereu_dataverse                    "/opt/dv/entrypoint.b"   About a minute ago   Up About a minute   0.0.0.0:440->443/tcp, 0.0.0.0:8080->8080/tcp   dataverse

8903ffab7d79        dockereu_solr                         "/entrypoint.sh solr"    About a minute ago   Up About a minute   0.0.0.0:8985->8983/tcp                         solr

e652e204e6bb        dockereu_postgres                     "docker-entrypoint.sh"   14 minutes ago       Up About a minute   0.0.0.0:5435->5432/tcp                         db

Enjoy Dataverse

Open in your browser the selected domain name (like sshopencloud.eu) or just go to http://localhost:8080

Going from Docker Compose to Kubernetes

If you want to run Dataverse on Kubernetes please use this module

Dataverse web interface localization

The localization of Dataverse was done in CESSDA DataverseEU and others projects. It's maintained by Global Dataverse Community Consortium and available for the following languages:

Warning

If not all languages are coming up in the same time please increase RAM for Docker (not less than 10Gb for 5 languages).

About

Experiments in running Dataverse in Docker (version 5.8)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 48.2%
  • Shell 30.3%
  • Perl 9.8%
  • Dockerfile 5.7%
  • Python 4.0%
  • PLpgSQL 2.0%