Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

How can we complete pairing using bitpay-rest in prod in a Docker container? #103

@mitchdowney

Description

@mitchdowney

As I understand it, in order to make Point of Sale requests, I need to run bitpay.js pair, go through the command line prompts, and eventually follow that link and press the approve button. That seems to make sense, but I'm trying to run bitpay-rest in a Docker container and don't know how to complete pairing inside it. Can it be done? And is it possible to automate those steps?

Update: After thinking about it more, it seems like I could run a setup script in my Dockerfile that runs through the pairing process, and I'll provide input to the interactive prompts somehow...but what about clicking the link with the pairing code? Can that be automated? Or is there a different approach I should be using to avoid the pairing code step entirely?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions