- Update accessControl.json
- Add ./cert/ssl.crt ./cert/ssl.key
- Specify GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, COOKIE_DOMAIN
- docker-compose up
More info at https://github.com/BD2KGenomics/dcc-auth-proxy
More info at https://github.com/BD2KGenomics/dcc-auth-proxy
| /* global require */ | |
| const multipart = require('connect-multiparty') | |
| const multipartMiddleware = multipart() | |
| const path = require('path') | |
| const os = require('os') | |
| const fs = require('fs') | |
| var express = require('express') | |
| var app = express() |
| var Bull = require('bull'); | |
| const spawn = require('child_process').spawn; | |
| var queue = new Bull('contacts', 6379, 'localhost'); | |
| queue.LOCK_RENEW_TIME = 500; | |
| let originalConsumer = !process.env.SPAWNED | |
| if (originalConsumer){ | |
| queue.add({}, { | |
| removeOnComplete: true, |
| <html> | |
| <head> | |
| <title>Hello AirPair</title> | |
| </head> | |
| <body> | |
| <h1>Hello AirPair</h1> | |
| </body> | |
| </html> |
| .table | |
| .center | |
| %h1 Android's Content-scroll-shadow | |
| .container | |
| .scroll-content |
| script = <<SCRIPT | |
| apt-get update | |
| apt-get install -y curl | |
| #install Node | |
| cd /tmp | |
| curl -o node-v0.10.26-linux-x64.tar.gz http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-x64.tar.gz | |
| cd /usr/local && tar --strip-components 1 -zxf /tmp/node-v0.10.26-linux-x64.tar.gz | |
| #install Mongo |
| FROM ubuntu:12.10 | |
| RUN apt-get update | |
| RUN apt-get install -y curl | |
| RUN curl http://install.meteor.com | /bin/sh |
| FROM ubuntu:12.10 | |
| RUN apt-get update | |
| RUN apt-get install -y software-properties-common python g++ make | |
| RUN add-apt-repository -y ppa:chris-lea/node.js | |
| RUN apt-get update | |
| RUN apt-get install -y nodejs | |
| RUN npm install -g madeye |