prose / gatekeeper

Enables client-side applications to dance OAuth with GitHub.
MIT License
761 stars 183 forks source link

Create a Dockerfile #22

Closed rgbkrk closed 8 years ago

rgbkrk commented 9 years ago

Thanks for this project! I wrote my own Dockerfile for use with gatekeeper but I figured it might be nice to just have an official one.

When using this, I override using environment variables via docker run:

docker run -it -e OAUTH_CLIENT_ID=NOT_SHOWN_IN_PR -e OAUTH_CLIENT_SECRET=NOT_SHOWN_IN_PR -p 9999:9999 gatekeeper
Configuration
{ oauth_client_id: 'NOT_SHOWN_IN_PR',
  oauth_client_secret: 'NOT_SHOWN_IN_PR',
  oauth_host: 'github.com',
  oauth_port: 443,
  oauth_path: '/login/oauth/access_token',
  oauth_method: 'POST' }
Gatekeeper, at your service: http://localhost:9999

It would be super swell if you accept this and create an automated build on Docker hub. If not, that's cool too.

rgbkrk commented 9 years ago

@wilmoore done, updated to node:4.2.1

wilmoore commented 9 years ago

@rgbkrk :+1:

davidknezic commented 9 years ago

:+1:

Hope this gets merged soon!

rgbkrk commented 8 years ago

Closing due to inactivity of maintainer.