Skip to content

Commit 8cbcff6

Browse files
committed
README
1 parent 26b0864 commit 8cbcff6

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

lookup-service-server/README.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
11
# ls-registration-server
22
Server to receive records from the clients and store in a database
33

4+
# Deploying the server
5+
The records are posted to elasticsearch or opensearch.
6+
The following environment variables are needed for the database connection.
7+
8+
DATABASE - elasticsearch or opensearch
9+
10+
ElasticSearch
11+
1. ELASTIC_VERIFY_CERTS - True or False to verify certs
12+
2. ELASTIC_CA_CERT - Path to CA cert if verify certs set to true
13+
3. ELASTIC_HOST
14+
4. ELASTIC_USER
15+
5. ELASTIC_PASS
16+
6. ELASTIC_INDEX
17+
18+
OpenSearch
19+
1. OS_VERIFY_CERTS
20+
2. OS_CA_CERT
21+
3. OS_HOST
22+
4. OS_USER
23+
5. OS_PASS
24+
6. OS_INDEX
25+
26+
# Note for Developers:
27+
1. Schema for record validation
28+
```
29+
lookup-service-client/pslookup/perfsonar-pslookup/schema/schema.json
30+
```
31+
2. Any modification to the schema will be reflected in the client package and server.
32+
3. Changes in the mapping should be complimented with updates to the database mappings.
33+
```
34+
lookup-service-server/app/mapping
35+
```
36+
4. Context for Docker build is the root of the respository since the server needs access to schema from the client.
37+
To build the docker image locally.
38+
```
39+
docker build -f lookup-service-server/Dockerfile .
40+
```

0 commit comments

Comments
 (0)