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

Running using docker run and setting a custom master token #62

Closed
alexjamesbrown opened this issue Aug 17, 2020 · 1 comment
Closed
Labels
done Implemented or fixed

Comments

@alexjamesbrown
Copy link

How can this be run using docker run, but set a custom token?

I'm trying along the lines of

docker run -p 55555:55555 darklynx/request-baskets request-baskets -token "my-token"

@darklynx
Copy link
Owner

darklynx commented Aug 17, 2020

using environment variable, see: https://github.com/darklynx/request-baskets/blob/master/docker/entrypoint.sh#L38

so, you can use something like that:

$ docker run -p 55555:55555 -e TOKEN=my-token darklynx/request-baskets

@darklynx darklynx added the done Implemented or fixed label Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Implemented or fixed
Projects
None yet
Development

No branches or pull requests

2 participants