SARI Reference Data Services
- Clone the Metaphacts Docker Compose setup
- Copy the
service-template
directory in the Docker Compose setupcp -r service-template rds-global
- Create an
.env
file in yourrds-global
directory by copying it from the provided examples.cp database-config/.env_blazegraph .env
- Edit the obtained
.env
file:COMPOSE_PROJECT_NAME=rds-global
HOST_NAME=swissartresearch.net
METAPHACTORY_IMAGE=swissartresearx/rds-global:latest
- Edit the
docker-compose.overwrite.yml
file. See below for an example:-
services: metaphactory: networks: - default mem_limit: 4g volumes: - /mnt/rds-global/runtime-data:/runtime-data:Z ports: - "10214:8080" blazegraph: ports: - 8080:8080 volumes: - /mnt/rds-global/blazegraph-data:/blazegraph-data:Z environment: - JAVA_OPTS=-Xmx16g - QUERY_TIMEOUT=0 networks: default: external: name: nginx_proxy_network
-
- In order to update the security configuration, it might be necessary to set the
securityConfigStorageId
environment parameter by editing the.env
file:METAPHACTORY_OPTS=-Dconfig.storage.rds-global.type=nonVersionedFile -Dconfig.storage.rds-global.mutable=true -Dconfig.storage.rds-global.root=/rdsapps/rds-global
Follow the separate instructions for data preparation for populating the database.