- Fix Access-Control-Allow-Origin
There are several default values set in the .env
-file and can be changed if wished. This includes:
REDIS_HOST
POSTGRES_HOST
POSTGRES_DB
POSTGRES_USER
POSTGRES_PASSWORD
API_TAG
referencing the version of the API-image to be retrieved from quay.ioUI_TAG
referencing the version of the UI-image to be retrieved from quay.io
Run docker-compose up -d
, as the images needed are defined in the compose-file.
Default ports of the stack are:
- 5432 for database
- 8001 for UI
- 8000 for API
Start the stack as follows:
docker-compose up -d --scale redis_persist_worker=3 --remove-orphans
.
The number of persist_workers can be adjusted. It indicates how many worker containers are to be started in parallel to process the requests from the queue.
Go to `localhost:8001" and click on "Go to token management". Create a new token and then click "manage" to get to the view instruction the use of the token
The with-weblog http://localhost:8000/run/<token-id>/
flag needs to be set when executing the nextflow-workflow.
The metrics and the progress then get automatically updated on the corresponding UI-page (http://localhost:8001/run//).
The application is based on an API-component and a frontend-component.