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

pubsub crashes during docker-compose up #4

Open
itsgc opened this issue Jul 22, 2018 · 0 comments
Open

pubsub crashes during docker-compose up #4

itsgc opened this issue Jul 22, 2018 · 0 comments

Comments

@itsgc
Copy link
Owner

itsgc commented Jul 22, 2018

pubsub requires a valid twitch access_token with a "channel_subscriptions" scope on startup. When ran as a docker-compose service like in https://github.com/itsgc/twitch-servitor-operations it will crash during spinup since cogitator is used to fetch that token and currently needs user interaction after the stack is fully loaded to do that.

Add an env variable to provide a starting code off-band that cogitator can use to fetch a token for pubsub before doing anything else.

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