ejp-rd-vp / EJP-FiaB-Updates

A place to announce updates, security alerts, and patches to the FAIR-in-a-Box modules
Creative Commons Zero v1.0 Universal
4 stars 0 forks source link

New Beacon 4 docker images #33

Open markwilkinson opened 3 weeks ago

markwilkinson commented 3 weeks ago

Pablo has completed the docker images for Beacon version 4, and they are now the default in the FiaB installer.

Usage instructions here: https://github.com/CARE-SM/beaconAPI4CARESM

IMAGE: pabloalarconm/beacon-api4care-sm:4.0.0

markwilkinson commented 3 weeks ago

Small bug fix, and I have asked Pablo to make it possible to add a path fragment to the API, in case you need to distinguish Beacon version 4 and Beacon version 2 via a proxy.

pabloalarconm/beacon-api4care-sm:4.0.1

  - PROXY_PATH=proxy

If you were serving Beacon4 /individuals and Beacon2 /individuals on the same server, you can distinguish them by adding a proxy-path such as "beacon4"

means the beacon4 /individuals endpoint will be served as if it were at /beacon4/individuals

so you can proxy pass based on the url regexp match /beacon4/

Hopefully that's clear enough??

image: pabloalarconm/beacon-api4care-sm:4.0.1
    ports:
      - "8000:8000"
    environment:
      - TRIPLESTORE_URL=https://
      - TRIPLESTORE_USERNAME=a
      - TRIPLESTORE_PASSWORD=b
      - URL_SERVER=http://0.0.0.0:8000/
      - PROXY_PATH=proxy

      - FILTER_SEX=True
      - FILTER_DISEASE=True
      - FILTER_SYMPTOM=True
      - FILTER_GENE_VARIANT=True
      - FILTER_BIRTHYEAR=True
      - FILTER_AGE_SYMPTOM_ONSET=True
      - FILTER_AGE_DIAGNOSIS=True