Skip to content

application.yml

The last thing to do is to update our application.yml file. We need to add clientUrl so that FDP knows the actual URL even if hidden behind the reverse proxy. It’s a good practice to set up a persistent URL for the metadata too. We recommend using https://purl.org. If you don’t specify persistentUrl, the clientUrl will be used instead. And we also need to set a random JWT token for security.

instance:
clientUrl: https://your-domain.com # Set this correctly from the start
persistentUrl: https://purl.org

repository:
type: 5
blazegraph:
url: http://blazegraph:8080/blazegraph

security:
jwt:
token:
secret-key: [Add your 256 JWT Token]

spring:
data:
mongodb:
uri: mongodb://mongo:27017/fdp

metadataProperties:
language: http://id.loc.gov/vocabulary/iso639-1/en
license: http://rdflicense.appspot.com/rdflicense/cc-by-nc-nd3.0
accessRightsDescription: This resource has no access restriction
publisherURI: https://your-domain.com
publisherName: "Name of Organization/Institution"

* Note: Observe proper indentation of the code.

Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.