The following environment variables can be used to configure the server (the ones that are mandatory in a production environment are marked with a *):
| Variable | Default | Explanation | Format |
|---|---|---|---|
| SERVER_PORT | 3000 | The port to which bind the web server | Any valid port |
| DISCOVERY_PORT | 30000 | The port to listen to for device announces | Any valid port |
| MONGO_HOST | localhost | The host on which to find mongodb | Any valid host string |
| MONGO_PORT | 27017 | The port on which to find mongodb | Any valid port |
| *JWT_SECRET | secret | The secret used to sign JWTs | Any non empty string |
Content type
Image
Digest
sha256:9fb4d77a0…
Size
67.1 MB
Last updated
12 months ago
docker pull ventus218/domoticasw-server