Commit 4f5729f5 authored by Robert Butora's avatar Robert Butora
Browse files

README shortened

parent c4801906
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ When used with [vlkb-siav2](https://ict.inaf.it/gitlab/ViaLactea/vlkb-siav2) the

## Launching the service

The vlkb-soda service is available as a docker-image and may be launched as examplified in this [**compose.yaml**](docker/example-compose-soda.yaml). The port number, ACCESS_CONTEXT_ROOT and directory to FITS-files need to be adjusted for the given instance. To see that the instance is running, access the availability endpoint:
The vlkb-soda service is available as a docker-image and may be launched as examplified in this [**compose.yaml**](docker/example-compose-soda.yaml). Mount the root of the FITS-file store to internal /srv/datasets directory. Also set the service port-number and ACCESS_CONTEXT_ROOT. To see that the instance is running, access the availability endpoint:

```bash
curl --get http://localhost:8004/vlkb/datasets/availability
@@ -38,6 +38,9 @@ if at least on of the user's groups is allowed the access. Access rights for dat

is available from the gitlab-repository of this project.

SODA-docker's internal mount point for the FITS-files storage is **/srv/datasets**.


Configuration parameters are set by these docker environment variables:


@@ -53,8 +56,7 @@ Configuration parameters are set by these docker environment variables:
| **AUTHZ_DB_SCHEMA** | schema of the authorization table |
| **AUTHZ_DB_USERNAME** | user in the DB with authorization table |
| **AUTHZ_DB_PASSWORD** | password for the DB-user |
| **URL_CUTOUTS** | server-side cuts can be downloaded form this URL |


Context-root parameter uses 'tomcat syntax' in which the forward slash is replaced with hash: vlkb#datasets -> /vlkb/datasets
Context-root parameter uses 'tomcat syntax' in which the forward-slash path-separator is replaced with hash: vlkb#datasets -> vlkb/datasets