Learn about Miro here - https://github.com/Soluto/Miro
Create a new Github App
Give the app the following permssions:
Give the app the following webhook subscriptions
Generate a private key for the github app
Save the private key in a private place, for example ./secrets/github-private-key.pem
Note We will be using the body of the pem: -----BEGIN RSA PRIVATE KEY----- <ONLY THIS PART> -----END RSA PRIVATE KEY-----
Add your new app to a repo you want Miro to work on
Extract your app's installation id as explained here, we'll call this env var GITHUB_INSTALLATION_ID
In your github app's page, generate some secret key in the Webhook secret (optional) option.
Start a mongodb instance, for example docker run --name a-mongo -p 27017:27017 -d mongo
Start a tunnel (for example ngrok) on port 5000
In your App general settings, change the Webhook URL to https://<your-public-url>/api/webhooks/incoming/github
Pull + Run the soluto-miro docker image:
docker run \
-e "MONGO_CONNECTION_STRING=<your-mongo-instance-including-port>" \
-e "ASPNETCORE_ENVIRONMENT=Production" \
-e "WEBHOOKS__DISABLEHTTPSCHECK=true" \
-e "WEBHOOKS__GITHUB__SECRETKEY__DEFAULT=<your webhook secret>" \
-e "GITHUB_INSTALLATION_ID=<your-installation-id>" \
-e "GITHUB_PEM_SECRET=<your-pem-without-the-header-and-footer>" \
-p 5000:80 \
soluto-miro
miro infoShow developers this Repo's rockin Miro, put this shield at the top of your repo -
[](https://github.com/Soluto/Miro)
Content type
Image
Digest
Size
104.7 MB
Last updated
over 7 years ago
docker pull oresoluto/miro