send/docs/docker.md

15 lines
493 B
Markdown
Raw Normal View History

2017-06-26 19:34:31 +00:00
## Environment variables:
2017-06-08 23:11:17 +00:00
2017-06-26 19:34:31 +00:00
| Name | Description
|------------------|-------------|
| `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"
2017-06-08 23:11:17 +00:00
2017-06-26 19:34:31 +00:00
## Example:
2017-06-08 23:11:17 +00:00
2017-06-26 19:34:31 +00:00
```sh
2017-07-11 19:34:49 +00:00
$ 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/send:latest
2017-06-26 19:34:31 +00:00
```