ols4 icon indicating copy to clipboard operation
ols4 copied to clipboard

Trying to work in docker local config

Open erfelipe opened this issue 4 months ago • 7 comments

Describe the documentation deficiency Dear, I'm try these initial steps:

git clone https://github.com/EBISPOT/ols4.git

export OLS4_CONFIG=./dataload/configs/myontology.json (based in efo.json)

copy myontology.owl to testcases folder

JAVA_OPTS="-Xms5G -Xmx25G" docker compose up

Url to existing documentation if applicable

Following the deploy in https://github.com/EBISPOT/ols4?tab=readme-ov-file#deploying-ols4

What are you trying to do?

I have many issues. The first report “last message” was: Error response from daemon: driver failed programming external connectivity on endpoint ols4-ols4-backend-1 (ec76ed6214c21e9b11ef8c85ac0294f36b559f177bd7ae0bc0d36d5f899fb595): Bind for 0.0.0.0:8080 failed: port is already allocated

The backend container is pointed to 8080:8080

image

So, by using play button, I can up the containers, except backend.

image

So I changed the 8080:8080 to 8082:8080 port in docker-compose.yml and dockerfile in database folder. Delete images and compose up process again

Now, backend is up, but dataload not working

image

And frontend do not show the local ontology, just trying to load: image

The correct and all steps are these in github “deploying OLS4” ?

  1. Name of ontology you are trying to access, if applicable: myontology.json (put in dataload/configs)
  2. URL of term you trying to access, if applicable: --
  3. Search criteria you are trying to search for: --
  4. Anything else? Thanks for any help.

erfelipe avatar Sep 29 '24 18:09 erfelipe