This is the server of a high precision IPS.
To start it you will need a .env file like this
# Influx Client/Server Config
INFLUX_HOST= (Optional if no changes are made to docker-compose.yml)
INFLUX_TOKEN=
INFLUX_ORG=
INFLUX_BUCKET=
INFLUX_USERNAME=
INFLUX_PASSWORD=
MODE= (Optional if not in setup)
# MQTT Client Config
MQTT_PORT=
MQTT_HOST= (Optional if no changes are made to docker-compose.yml)
# API Configuration
API_HOST=
API_PORT= (Optional if no changes are made to docker-compose.yml)
EXPOSE_PORT=
# General Config
RSSI_BUFFER_SIZE=
INIT_RSSI_BUFFER_SIZE=
RSSI_DISTANCE_ORDER=
For setup, you will need to add a MODE=setup
entry to the env file
Then you can start influxdb using docker-compose
:
docker-compose up influx -d
Once it is started, you can stop it
docker-compose down
Then you can start it using docker-compose
:
docker-compose up -d
You're done ! The high precision IPS server is now started, and you can enjoy it using the GraphQL API.