Skip to content

Commit b306ea1

Browse files
committed
some adjustments
while testing things from scratch
1 parent 20985e2 commit b306ea1

File tree

1 file changed

+59
-50
lines changed

1 file changed

+59
-50
lines changed

config/orront.conf

Lines changed: 59 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
##############################################################################
2-
# This is the master ORR configuration file.
2+
# This is the master ORR configuration file (for a Docker-based installation)
33
##############################################################################
44

55
## The ${...} substitution syntax (e.g., ${branding.instanceName}) allows to
@@ -29,13 +29,19 @@ auth {
2929
}
3030

3131
## ---------------------------------------------------------------------------
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
3334
deployment {
3435
## (required) The (external) URL of this ORR instance. No trailing slash.
36+
## Initial value here corresponds to access on your localhost.
3537
url = "http://localhost:9090/ont"
3638

3739
## (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"
3945
}
4046

4147
## ---------------------------------------------------------------------------
@@ -65,39 +71,82 @@ branding {
6571
}
6672

6773
## ---------------------------------------------------------------------------
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+
username = "[email protected]"
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).
69116
mongo {
70117
## (required) Name of Mongo database to be used for ORR purposes.
71118
## Can be changed if desired/needed.
72119
db = "orr-ont"
73120

74121
## (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.
76123
host = "mongo"
77124

78125
## (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.
80127
port = 27017
81128
}
82129

83130
## ---------------------------------------------------------------------------
84131
## 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).
85134
agraph {
86135
## (required) The desired AG username to access the ORR triple store
87136
userName = "test"
88137

89138
## (required) The desired password for the AG username above:
90-
password = "replace-with-your-desired-pw"
139+
password = "xyzzy"
91140

92141
## (required) Desired name for the AG repository to be used for ORR purposes.
93142
repoName = "mmiorr"
94143

95144
## (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.
97146
host = "agraph"
98147

99148
## (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.
101150
port = 10035
102151

103152
## DO NOT change this:
@@ -107,49 +156,9 @@ agraph {
107156
initDelay = 20 seconds
108157
}
109158

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-
username = "[email protected]"
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-
150159
## ---------------------------------------------------------------------------
151160
## files: managed file locations.
161+
## DO NOT change this section.
152162
files {
153-
## DO NOT change this.
154163
baseDirectory = "/opt/orr-ont-base-directory"
155164
}

0 commit comments

Comments
 (0)