Go to file
Bernaldo Mihasi bbe4975176 add hasTemplates property to sections, it indicates if descriptions templates can be added in a section 2023-09-11 08:59:47 +03:00
ELK.Docker Minor cleanup to logstash 2020-04-16 18:34:32 +03:00
dmp-backend add hasTemplates property to sections, it indicates if descriptions templates can be added in a section 2023-09-11 08:59:47 +03:00
dmp-dataset-templates Add new source for data repositories and updated H2020 template 2020-05-29 17:13:02 +03:00
dmp-db-scema add "DmpSectionIndex" column to descriptions in order to know in which section of a dmp the description belongs, add "data" column in DmpDatasetProfile table, data stores in which sections a description template is saved 2023-09-11 08:57:09 +03:00
dmp-frontend add hasTemplates property to sections, it indicates if descriptions templates can be added in a section 2023-09-11 08:59:47 +03:00
docsbox-master no message 2018-07-11 16:47:36 +03:00
elastic-config no message 2018-09-18 15:41:24 +03:00
openDMP Added empty folder uploads 2022-03-16 13:14:36 +02:00
prometheus/config Add prometheus integration (ref #294) 2021-04-09 19:05:04 +03:00
repo-jars #8740 - multiple configuration for a deposit repository 2023-06-21 12:46:37 +03:00
static no message 2018-10-02 17:33:58 +03:00
.env dockerization 2022-09-13 10:35:56 +03:00
.gitignore dockerization 2022-09-13 10:35:56 +03:00
Jenkinsfile CI update 2020-09-24 17:37:32 +03:00
LICENSE Update LICENSE 2020-05-11 13:49:36 +03:00
README.md dockerization 2022-09-13 10:35:56 +03:00
docker-compose.override.yml dockerization 2022-09-13 10:35:56 +03:00
docker-compose.yml dockerization 2022-09-13 10:35:56 +03:00
opensource-licences_urls.txt Add opensource-licences 2020-07-17 17:46:10 +03:00
welcome.docx no message 2018-03-05 18:18:45 +02:00

README.md

Using Docker Compose with Argos

ARGOS is an open extensible service that simplifies the management, validation, monitoring and maintenance and of Data Management Plans. It allows actors (researchers, managers, supervisors etc) to create actionable DMPs that may be freely exchanged among infrastructures for carrying out specific aspects of the Data management process in accordance with the intentions and commitment of Data owners.

Before running the docker compose commands, configurations must be set

Database

First of all, database must be configured

The only file that has to be changed is /dmp-db-scema/Docker/dmp-db.env

ADMIN_USER: Admin username (app)
ADMIN_PASSWORD: Admin password (app)

POSTGRES_DB: database name
POSTGRES_USER: Admin username (database)
POSTGRES_PASSWORD: Admin password (database)

Backend

Secondly, a few more options should be asigned

The file /dmp-backend/web/src/main/resources/config/application-docker.properties contains all the necessary properties

Values to be modified:

database.url: the url that is used to connect to database (JDBC based)
database.username: database admin username
database.password: database admin password

elasticsearch.*(optional): setup elastic, check Elasticsearch(optional) section below

google.login.clientId(optional): google as login provider

NOTE: if you want to configure and integrate other providers, check this reference Setup configurable login

If you provide google.login.clientId, then the same value should be set in the field named loginProviders.googleConfiguration.clientId which belongs to /dmp-frontend/src/assets/config/config.json

You are ready to build and run the entire application using Docker-compose

  1. Go to the project's root directory
  2. Type in the Terminal docker volume create --name=dmpdata
  3. Type in the Terminal docker-compose up -d --build
  4. After it's complete your application is running on http://localhost:8080

Elasticsearch(optional)

If you want to set up elasticsearch, you will need the password for the elastic user

After your application is running, type in the Terminal docker exec -it elasticsearch /bin/sh

Run the command cat data/passwords.txt in the shell and save its output

Finally, run exit to get back to your terminal

The elastic's password that you get has to be set in the elasticsearch.password property in the backend configuration

Rerun the application

  1. Type in the Terminal docker-compose down
  2. Type in the Terminal docker-compose up -d --build