added Dockerfile

This commit is contained in:
Danny Coates 2017-06-08 16:11:17 -07:00
parent 2bb0c7eb4b
commit 53f264e63b
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
7 changed files with 902 additions and 446 deletions

9
docs/docker.md Normal file
View file

@ -0,0 +1,9 @@
Environment Variables:
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'