24
1
Fork 0
drop.chapril.org-firefoxsend/docs/docker.md

15 lines
493 B
Markdown
Raw Normal View History

2017-06-26 21:34:31 +02:00
## Environment variables:
2017-06-09 01:11:17 +02:00
2017-06-26 21:34:31 +02: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-09 01:11:17 +02:00
2017-06-26 21:34:31 +02:00
## Example:
2017-06-09 01:11:17 +02:00
2017-06-26 21:34:31 +02:00
```sh
2017-07-11 21:34:49 +02: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 21:34:31 +02:00
```