Based off of the original orion-server by LINKIWI, but rewriten in node to suit my setup.
| OPTION | Required | Description | Suggested |
|---|---|---|---|
NODE_ENV | Yes | Self explanatory, defaults to development unless doing a docker-compose action | production |
ORION_CLIENT_HOST | Yes | Host where the orion-web client is located (relative to server), FOR CORS | `https://orion-client-domain.tld |
ORION_SERVER_HOST | Yes | Host where the node-orion-server client is located (relative to server), FOR CORS | `https://orion-server-domain.tld |
A docker-compose.yml file is included to get you up and running quickly. However, you may want to adjust passwords and environment.
$ git clone https://github.com/acupajoe/node-orion-server
$ cd node-orion-server
# SET .env file from .env.sample
$ docker-compose up -d
OwnTracks clients can then be pointed to https://orion-server-domain.tld/api/publish.
Be aware that there is no authentication set up by default. Basic authentication is suggested since it works natively with the Owntracks clients (albeit less securely than certificates). You can set this up pretty easily using Traefik.
Content type
Image
Digest
Size
74.5 MB
Last updated
almost 8 years ago
docker pull acupajoe/node-orion-server