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

Specify "MP_JWT_VERIFY_PUBLICKEY" as a requirement or remove the dependency #1645

Open
FullLifeGames opened this issue Aug 5, 2022 · 0 comments

Comments

@FullLifeGames
Copy link

When you currently try to pull and run the docker image of trellisldp/trellis-triplestore (or try to build and run trellis on your own), it will always throw an error that it cannot find the public key location (since it is per default set to changeme) (at least on Windows).

For fixing this, one needs to set the "MP_JWT_VERIFY_PUBLICKEY" (mp.jwt.verify.publickey) environment variable to make it run, which is not documented anywhere.

The workflow to run trellis looks like this:

docker pull trellisldp/trellis-triplestore:develop
docker run -p 8080:8080 -e MP_JWT_VERIFY_PUBLICKEY="{publicKey}" -d trellisldp/trellis-triplestore:develop

Since I had some trouble figuring this out, it would be good to document this on the Dockerhub page or remove the dependency on setting this key (e.g. use a valid default key) because I cannot image I would be the only one which has this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant