1
1
##############################################################################
2
- # This is the master ORR configuration file.
2
+ # This is the master ORR configuration file (for a Docker-based installation)
3
3
##############################################################################
4
4
5
5
## The ${...} substitution syntax (e.g., ${branding.instanceName}) allows to
@@ -29,13 +29,19 @@ auth {
29
29
}
30
30
31
31
## ---------------------------------------------------------------------------
32
- ## Info about the deployment of this ORR instance.
32
+ ## Info about the deployment of this ORR instance in terms of associated
33
+ ## externally visible URLs
33
34
deployment {
34
35
## (required) The (external) URL of this ORR instance. No trailing slash.
36
+ ## Initial value here corresponds to access on your localhost.
35
37
url = "http://localhost:9090/ont"
36
38
37
39
## (required) The (external) URL of the SPARQL endpoint. No trailing slash.
38
- sparqlEndpoint = "http://localhost:9090/sparql"
40
+ ## Initial value here corresponds to access to such endpoint on your localhost
41
+ ## according to how the corresponding AllegroGraph repository is exposed.
42
+ ## In general, this will have very limited use because it is not CORS enabled
43
+ ## (at least with the AllegroGraph version currently used).
44
+ sparqlEndpoint = "http://localhost:10035/repositories/mmiorr"
39
45
}
40
46
41
47
## ---------------------------------------------------------------------------
@@ -65,39 +71,82 @@ branding {
65
71
}
66
72
67
73
## ---------------------------------------------------------------------------
68
- ## MongoDB
74
+ ## (Required) Settings for the ORR to be able to send out emails (when user
75
+ ## resets password; notifications about registrations, etc.)
76
+ email {
77
+ ## (required) account used for sending emails.
78
+ ## This account information must be valid in the server indicated below.
79
+ account {
80
+
81
+ password = "actual-pw"
82
+ }
83
+
84
+ ## (required) corresponding email server for the account above.
85
+ server {
86
+ host = "smtp.somewhere.example.net"
87
+ port = 465
88
+ prot = "smtps"
89
+ debug = false
90
+ }
91
+
92
+ ## Info used to compose emails:
93
+ from = ${branding.instanceName}" <"${admin.email}">"
94
+ replyTo = ${admin.email}
95
+ mailer = ${branding.instanceName}
96
+ }
97
+
98
+ ## ---------------------------------------------------------------------------
99
+ ## Optional section.
100
+ #googleAnalytics {
101
+ # propertyId = "?"
102
+ #}
103
+
104
+ ## ---------------------------------------------------------------------------
105
+ ## Optional section.
106
+ ## See https://www.google.com/recaptcha/intro/.
107
+ #recaptcha {
108
+ # privateKey = "?"
109
+ # siteKey = "?"
110
+ #}
111
+
112
+ ## ---------------------------------------------------------------------------
113
+ ## MongoDB.
114
+ ## Note: No changes are in general needed in this section (unless relevant
115
+ ## pieces in docker-compose.yml need to be changed for some reason).
69
116
mongo {
70
117
## (required) Name of Mongo database to be used for ORR purposes.
71
118
## Can be changed if desired/needed.
72
119
db = "orr-ont"
73
120
74
121
## (required) Mongo server host. Should be same value as indicated in
75
- ## `docker-compose.yml` for the environment of the orr service.
122
+ ## `docker-compose.yml` for the 'MONGO_HOST' environment variable of the orr service.
76
123
host = "mongo"
77
124
78
125
## (required) Mongo server port. Should be same value as indicated in
79
- ## `docker-compose.yml` for the environment of the orr service.
126
+ ## `docker-compose.yml` for the 'MONGO_PORT' environment variable of the orr service.
80
127
port = 27017
81
128
}
82
129
83
130
## ---------------------------------------------------------------------------
84
131
## AllegroGraph server (which supports the triple store and SPARQL endpoint)
132
+ ## Note: No changes are in general needed in this section (unless relevant
133
+ ## pieces in docker-compose.yml need to be changed for some reason).
85
134
agraph {
86
135
## (required) The desired AG username to access the ORR triple store
87
136
userName = "test"
88
137
89
138
## (required) The desired password for the AG username above:
90
- password = "replace-with-your-desired-pw "
139
+ password = "xyzzy "
91
140
92
141
## (required) Desired name for the AG repository to be used for ORR purposes.
93
142
repoName = "mmiorr"
94
143
95
144
## (required) AGraph server host. Should be same value as indicated in
96
- ## `docker-compose.yml` for the environment of the orr service.
145
+ ## `docker-compose.yml` for the 'AGRAPH_HOST' environment variable of the orr service.
97
146
host = "agraph"
98
147
99
148
## (required) AGraph server port. Should be same value as indicated in
100
- ## `docker-compose.yml` for the environment of the orr service.
149
+ ## `docker-compose.yml` for the 'AGRAPH_PORT' environment variable of the orr service.
101
150
port = 10035
102
151
103
152
## DO NOT change this:
@@ -107,49 +156,9 @@ agraph {
107
156
initDelay = 20 seconds
108
157
}
109
158
110
- ## ---------------------------------------------------------------------------
111
- ## (Required) email related information used for user account management and
112
- ## notifications.
113
- email {
114
- ## (required) account used for sending emails.
115
- ## This account information must be valid in the server indicated below.
116
- account {
117
-
118
- password = "actual-pw"
119
- }
120
-
121
- ## (required) corresponding email server for the account above.
122
- server {
123
- host = "smtp.somewhere.example.net"
124
- port = 465
125
- prot = "smtps"
126
- debug = false
127
- }
128
-
129
- ## info used to compose emails (when user resets password; notifications
130
- ## about registrations, etc.):
131
- from = ${branding.instanceName}" <"${admin.email}">"
132
- replyTo = ${admin.email}
133
- mailer = ${branding.instanceName}
134
- }
135
-
136
- ## ---------------------------------------------------------------------------
137
- ## Optional section.
138
- #googleAnalytics {
139
- # propertyId = "?"
140
- #}
141
-
142
- ## ---------------------------------------------------------------------------
143
- ## Optional section.
144
- ## See https://www.google.com/recaptcha/intro/.
145
- #recaptcha {
146
- # privateKey = "?"
147
- # siteKey = "?"
148
- #}
149
-
150
159
## ---------------------------------------------------------------------------
151
160
## files: managed file locations.
161
+ ## DO NOT change this section.
152
162
files {
153
- ## DO NOT change this.
154
163
baseDirectory = "/opt/orr-ont-base-directory"
155
164
}
0 commit comments