movableink / doorman

HTTP Proxy + OAuth
MIT License
167 stars 52 forks source link

Dockerfile initial version. #35

Closed pataquets closed 9 years ago

pataquets commented 9 years ago

Solves movableink/doorman#31 See also movableink/doorman#30

How to test:

$ docker build -t=doorman . # Builds the Docker image locally
$ docker run -d --name=doorman_test_backend pataquets/drupal # Spin up a local test backend (Drupal 7).
$ docker run -d -p 8080:80 -e DOORMAN_LISTEN_PORT=80 -e DOORMAN_MODULES=password -e DOORMAN_PASSWORD_TOKEN=1234 -e DOORMAN_HOSTNAME=http://your.hostname.com:8080 -e DOORMAN_PROXY_HOST=backend -e DOORMAN_PROXY_PORT=80 --link=doorman_test_backend:backend --name=doorman_test_proxy doorman # Launches exposed Doorman (tip: use SQLite to finish Drupal install)
pataquets commented 9 years ago

Added test instructions. TODO after merging:

pataquets commented 9 years ago

Bump. My image got outdated. Having a canonical Dockerfile and setting up an official Docker image would be a convenient way to stay up-to-date.

pataquets commented 9 years ago

Since you already have a Docker Hub account, you can set an 'Automated Build' to keep Doorman image up-to-date with latest commits.

pataquets commented 9 years ago

How about setting up a 'movableink/doorman' automated build on Docker Hub?

pataquets commented 8 years ago

@mnutt: ping?