Skip to content
Snippets Groups Projects
Commit 36a8f79e authored by Robert Butora's avatar Robert Butora
Browse files

README update (SODA pure config and run)

parent 92a34f23
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
is a web-application to access astronomical data stored in FITS-files. is a web-application to access astronomical data stored in FITS-files.
It implements SODA IVOA recommendation v1.0 (https://ivoa.net/documents/SODA/20170517/index.html). It implements SODA IVOA recommendation v1.0 (https://ivoa.net/documents/SODA/20170517/index.html).
Docker image is available in this repository and cean be launched by the following compose.yaml Docker image is available in this repository and may be launched by the following **compose.yaml**.
```yaml ```yaml
version: '3' version: '3'
...@@ -21,20 +21,29 @@ services: ...@@ -21,20 +21,29 @@ services:
- /srv/ska/surveys:/srv/surveys:z,ro - /srv/ska/surveys:/srv/surveys:z,ro
restart: always restart: always
```
soda-ssl: The above configuaration assumes:
container_name: soda-ssl-vlkb
image: git.ia2.inaf.it:5050/vialactea/vlkb-soda/soda:1.6.3 * 'SKA' project holds FITS-files in sub-directories under: `/srv/ska/surveys`
ports: * will be accessed remotely by URL: http://<server>/ska/datasets/soda
- 18025:8443 * identified by SODA-param ID which is **IVOID** of the form:
environment: `ID=ivo://<authority>/resource-key?<relative-pathname>#extnum`
- SECURITY=ia2token
- ACCESS_CONTEXT_ROOT=ska#datasets Note that the service apends **soda** to ACCESS_CONTEXT_ROOT.
volumes: The pathname in the ID is relative to the path in compose.yaml volume-mapping (e.g. '/srv/ska/surveys').
- /srv/ska/surveys:/srv/surveys:z,ro The FITS extension number `#extnum` is optional. Default is the primary HDU.
restart: always
Data access example:
```bash
curl -s -k --get
--data-urlencode "ID=ivo://some-auth/some-key?some/path/somefile.fits"
--data-urlencode "CIRCLE=202.256 47.493 0.2"
-v -o soda.fits
http://localhost:18019/ska/datasets/soda
``` ```
The URL root `http://localhost:18019/ska/datasets/soda` returns the service descriptor.
## SODA for VLKB ## SODA for VLKB
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment