added ENV to Dockerfile, also deployment to circleci

This commit is contained in:
Danny Coates 2017-06-20 15:48:36 -07:00
parent 53f264e63b
commit f7c1b1718e
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 13 additions and 23 deletions

View file

@ -1,9 +1,10 @@
Environment Variables:
PORT - port the server will listen on (defaults to 1443)
P2P_S3_BUCKET - the S3 bucket name
P2P_REDIS_HOST - host name of the redis server
NODE_ENV - production
Example
docker run --net=host -e 'NODE_ENV=production' -e 'P2P_S3_BUCKET=testpilot-p2p-dev' -e 'P2P_REDIS_HOST=dyf9s2r4vo3.bolxr4.0001.usw2.cache.amazonaws.com'
docker run --net=host -e 'NODE_ENV=production' -e 'P2P_S3_BUCKET=testpilot-p2p-dev' -e 'P2P_REDIS_HOST=dyf9s2r4vo3.bolxr4.0001.usw2.cache.amazonaws.com' mozilla/portal:latest