Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#7] Refactor docker compose to simplify running on Windows #22

Merged

Conversation

kostobog
Copy link
Contributor

@kostobog kostobog commented Aug 2, 2023

  • updating README.md

@kostobog kostobog requested a review from blcham August 2, 2023 12:18
@blcham blcham force-pushed the issues/issue-7-docker-compose-compatible-with-win-wsl branch from 13b6907 to a1a5e3b Compare August 3, 2023 20:11
@blcham
Copy link
Contributor

blcham commented Aug 3, 2023

@kostobog @rodionnv what do you think about this configuration that reflects issue #23. Does it work for you as described in README.md now?

bin/spe.sh Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rodionnv Please test if it works for you on Windows. If not either propose change or create new .bat file that would work for you (i would use just ChatGPT to rewrite the file)

@blcham blcham requested review from rodionnv and blcham August 3, 2023 20:46
### Running Editor UI

Default configuration assumes that:
- you have **at least** docker-compose v2.20.2 (due to https://github.com/docker/cli/issues/4265; earlier versions were not tested)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kostobog @rodionnv watch out this

Copy link
Collaborator

@rodionnv rodionnv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't work for me, I am not sure if I have correctrly configured my .env file
SCRIPTPATHS=/c/D/ctu-fee/kbss/s-pipes/doc/examples SCRIPTRULES=/c/D/ctu-fee/kbss/s-pipes-editor/src/main/resources/rules RDF4J_REPOSITORYURL=http://rdf4j:8080/rdf4j-server/repositories RDF4J_REPOSITORYNAME=s-pipes-hello-world RDF4J_PCONFIGURL=/c/D/ctu-fee/kbss/s-pipes/doc/examples/hello-world/config.ttl SHARED_ROOT=/host_mnt
I have tried to configure it in different ways but I always get s-pipes-editor-ui-s-pipes-engine-1 | java.nio.file.NoSuchFileException: /c/D/ctu-fee/kbss/s-pipes/doc/examples

@blcham
Copy link
Contributor

blcham commented Aug 4, 2023

@rodionnv we did experiment with @kostobog and he did set up only:
SHARED_ROOT=/host_mnt/c
PWD=/host_mnt/c/some-folder/s-pipes-editor-ui

Important was also to use docker-compose v2.20.2.

But there are 2 ways to execute it:

  • inside wsl shell (this is probably better to do)
  • inside windows shell (i guess this was the case for @kostobog)

@kostobog please, share your experience so @rodionnv won't have to explore solutions

@blcham blcham merged commit 9e61233 into master Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants